Hi community,
This is a simple but useful plugin, which allows players teleport to certain points or other players.
commands:
| /tp help | list oft all possible commands |
| /tp list | list oft all points with name and position; since 1.3 with GUI |
| /tp [point-name] | teleports to the point with the name [point-name] |
| /tp [point-id] | teleports to the point with the id [point-id] |
| /tp #[player] | teleports to the player [player] |
| /tp [x] [y] [z] | teleports to the position (x;y;z) |
| /tp set [point-name] | sets position of point [point] to players current position; if it doesn‘t exist it‘s getting created |
| /tp set [point-name] [x] [y] [z] | sets position of point [point] to position (x;y;z); if it doesn‘t exist it‘s getting created |
| /tp rm [point-name] | removes point with the name [point-name] |
| /tp rm [point-id] | removes point with the id [point-id] |
| /tp #[player] [point-id] | teleports the player [player] to the point with the id [point-id] |
| /tp #[player] [point-name] | teleports the player [player] to the point with the name [point-name] |
| /tp #[player] #[to-player] | teleports the player [player] to the player [to-player] |
| /tp #[player] [x] [y] [z] | teleports the player [player] to the position (x;y;z) |
In v1.2 I added the ability to add a Config file called Config.conf with the following parameters:
| name | default | description |
| onlyadmin | false | are only admins allowed to use all commands? |
| onlyadmin_help | false | are only admins allowed to use the help command? |
| onlyadmin_list | false | are only admins allowed to use the list command? |
| onlyadmin_set | true | are only admins allowed to use the set command? |
| onlyadmin_rm | true | are only admins allowed to use the rm command? |
| onlyadmin_to_port | false | are only admins allowed to teleport? |
| onlyadmin_topoint_port | false | are only admins allowed to teleport to a port-point? |
| onlyadmin_toposition_port | false | are only admins allowed to teleport to a position? |
| onlyadmin_toplayer_port | false | are only admins allowed to teleport to a player? |
| onlyadmin_playerto_port | true | are only admins allowed to teleport a player? |
| onlyadmin_playertopoint_port | true | are only admins allowed to teleport a player to a port-point? |
| onlyadmin_playertoposition_port | true | are only admins allowed to teleport a player to a position? |
| onlyadmin_playertoplayer_port | true | are only admins allowed to teleport a player to a player? |
| listenforkeyinputfalse | true | set to false to prevent the plugin from disabling "listenforkeyinput" |
The file has to be formated like parameter:value
Example: