Описание
This plugin allows you to easily create and manage warps.
## Features
- Create, delete, list and teleport to warps.
- Reload the plugin in-game.
- Customizable messages in messages.yml.
## Commands
- Use **/setwarp ** to create a warp.
- Use **/listwarps** to list all warps.
- Use **/delwarp ** to delete a warp.
- Use **/warp ** to teleport to a warp.
- Use **/simplewarps reload** to reload the plugin.
- Use **/simplewarps about** to get information about the plugin.
## Permissions
- **simplewarps.admin.reload** - Allows you to use /simplewarps reload.
- **simplewarps.cmd.setwarp** - Allows you to use /setwarp .
- **simplewarps.cmd.listwarps** - Allows you to use /listwarps
- **simplewarps.cmd.delwarp** - Allows you to use /delwarp .
- **simplewarps.cmd.warp** - Allows you to use /warp .
View config.yml
```yml
# This plugin utilizes MiniMessage for messages.
# For more information, visit https://docs.adventure.kyori.net/minimessage.html
file-version: 1
# The prefix before every message
prefix: "SimpleWarps ⚡ "
# The messages file to use
langFile: 'english'
# The sound to play when a player teleports
warpSound:
enabled: true
sound: 'ENTITY_ENDERMAN_TELEPORT'
volume: 1.0
pitch: 1.0
# Permission-based warps configuration
# If enabled, players will only be able to teleport to warps they have permission for.
permissionBasedWarps:
# Whether permission-based warps are enabled
enabled: true
# The permission node format. %warp% will be replaced with the warp name.
permissionNodeFormat: 'simplewarps.warp.%warp%'
# Cooldown configuration
teleportCooldown:
# Whether teleport cooldown is enabled
enabled: true
# The cooldown time in seconds
cooldownTime: 5
```
View english.yml
```yml
# This plugin utilizes MiniMessage for messages.
# For more information, visit https://docs.adventure.kyori.net/minimessage.html
file-version: 1
# General messages
general:
noPlayer: "You must be a player to execute this command!"
noPerms: "You do not have permission to execute this command!"
# Command messages
commands:
# Messages for the /simplewarps command (main plugin command)
simplewarps:
usage: "Please use /simplewarps !"
about: "simplewarps v%version% - %author%"
reload:
reloading: "Reloading SimpleWarps..."
reloaded: "Successfully reloaded SimpleWarps! (%time%ms)"
error: "An error occurred while reloading SimpleWarps! Check the console for details."
help:
- "%prefix% "
- "%prefix% Command help:"
- "%prefix% "
- "%prefix% - /simplewarps about - View the plugin information"
- "%prefix% - /simplewarps reload - Reload the plugin"
- "%prefix% - /simplewarps help - View this message"
- "%prefix% - /setwarp - Set a warp at your location"
- "%prefix% - /warp - Teleport to a warp"
- "%prefix% - /delwarp - Delete a warp"
- "%prefix% - /listwarps - View all warps"
- "%prefix% "
setwarp:
usage: "Please use /setwarp !"
set: "Warp %warp% has been created!"
alreadySet: "Warp %warp% already exists!"
delwarp:
usage: "Please use /delwarp !"
deleted: "Warp %warp% has been deleted!"
notFound: "Warp %warp% does not exist!"
warp:
usage: "Please use /warp !"
teleported: "Teleporting to %warp%..."
notFound: "Warp %warp% does not exist!"
unreachable: "Warp %warp% is unreachable! Please contact an admin."
notAllowed: "You are not allowed to teleport to the warp %warp%!"
cooldown: "You must wait %time% seconds before teleporting again!"
listwarps:
usage: "Please use /listwarps!"
empty: "There are no warps!"
# In one line you need to use the %warp% placeholder, this line will be used for all warps
list:
- "%prefix%"
- "%prefix%List of all warps:"
- "%prefix%"
- "%prefix% - %warp% [TP]"
- "%prefix%"
```
View german.yml
```yml
# This plugin utilizes MiniMessage for messages.
# For more information, visit https://docs.adventure.kyori.net/minimessage.html
file-version: 1
# Generelle Nachrichten
general:
noPlayer: "Dies können nur Spieler ausführen!"
noPerms: "Du hast keine Berechtigung für diesen Befehl!"
# Befehlsnachrichten
commands:
# Nachrichten für den /simplewarps Befehl (Hauptbefehl des Plugins)
simplewarps:
usage: "Bitte nutze /simplewarps !"
# This message needs to contain %version% and %author% placeholders, or it will just be ignored
reload:
reloading: "SimpleWarps wird neugeladen..."
reloaded: "SimpleWarps wurde erfolgreich neugeladen! (%time%ms)"
error: "Fehler beim Neuladen von SimpleWarps! Überprüfe die Konsole für Details."
help:
- "%prefix% "
- "%prefix% Befehlsübersicht:"
- "%prefix% "
- "%prefix% - /simplewarps about - Zeigt Plugin-Informationen"
- "%prefix% - /simplewarps reload - Läd das Plugin neu"
- "%prefix% - /simplewarps help - Sendet diese Nachricht"
- "%prefix% - /setwarp - Setzt ein Warp an deiner aktuellen Position"
- "%prefix% - /warp - Teleportiert zu einem Warp"
- "%prefix% - /delwarp - Lösche einen Warp"
- "%prefix% - /listwarps - Zeit eine Liste aller Warps"
- "%prefix% "
setwarp:
usage: "Bitte nutze /setwarp !"
set: "Warp %warp% wurde erstellt!"
alreadySet: "Warp %warp% existiert bereits!"
delwarp:
usage: "Bitte nutze /delwarp !"
deleted: "Warp %warp% wurde gelöscht!"
notFound: "Warp %warp% existiert nicht!"
warp:
usage: "Bitte nutze /warp !"
teleported: "Teleportiere zu %warp%..."
notFound: "Warp %warp% existiert nicht!"
unreachable: "Warp %warp% ist nicht erreichbar! Bitte kontaktiere einen Admin."
notAllowed: "Du darfst nicht zu dem Warp %warp% teleportieren!"
cooldown: "Du musst noch %time% Sekunden warten, bevor du wieder teleportieren kannst!"
listwarps:
usage: "Bitte nutze /listwarps!"
empty: "Es existieren keine Warps!"
# In einer Zeile musst du den %warp% Platzhalter verwenden. Diese Zeile wird für alle Warps verwendet.
list:
- "%prefix%"
- "%prefix%Liste aller Warps:"
- "%prefix%"
- "%prefix% - %warp% [TP]"
- "%prefix%"
```
## Contact
If you encounter any issues or bugs, or have a
request for a new feature, please contact me via Discord or join my Discord-Server.
> My discord-name is **Losterixx**.
> My Discord-Server: [Link](https://discord.gg/gnGsUAwp76)