What's this plugin for?
Come to a small theater to show you plugin~
Player: Wow, it's my first time to visit this server to see what's interesting~
Players go to the bedwar
Player: Hey, why is there no one? Go to the survival zone
Player entered /hub
Player: hey? Why didn't you respond? Shouldn't it all be / hub back to the city?
Player: I'll try again / lobby
Player entered /lobby
Player: why is it still useless!!!
Management: Enter /server lobby here to go back to the lobby
Player: it's so troublesome. I won't play after I leave. I'm looking for other clothes
(yes, this plugin is used to let your server's player use /hub or /lobby to go back to the lobby!)
commands
/Hub - back to the lobby
/Lobby - go back to lobby (this function can be turned off)
/Customhub - view plugin version
/Customhub reload - reset configuration file
/Customhub Info - read the configuration file and output it in the chat area
permissions
customhub.command.reload -Overload plug-in permissions
customhub.command.info -Read profile permissions
config.yml
Code (Text):
hubcommand:
- 'me This is the command after entering /hub'
- 'me Please go to the configuration file modification command'
#commands executed after entering /hub, no '/'
delay: 0
#how mang times do the commands use after player use /hub
lobby: false
#Is the /lobby command on?
lobbycommand:
- 'me This is the command after entering /lobby'
- 'me Please go to the configuration file modification command'
#commands executed after entering /lobby, no '/'
messege-time: 'Will go to the hub in'
messege-reload: 'Plugin in reloaded successfully'
messege-nopermissions: 'You dont have the permissions to do that!'
messege-load: 'Reading config...'
messege-load-hub: 'use /hub trigger:'
messege-load-lobby: 'use /lobby trigger:'
messege-load-nolobby: 'lobby command is not open'
messege-syntaxerror: 'syntax error'
messege-isnotplayer: 'You cant enter this command on the console'
(it's my first time to write a plugin.,so it is easy.It will be updated continuously later.)