22.06.2014, 22:38
How would I make a command that gives a dialog with options? (like a control panel)
I want it to be like an admin control panel where you can type, "/acp"
Then it gives you the following options,
- Punish > (another dialog with the following) Ban, Prison, Kick
- Teleport > (another dialog with the following) "Teleport player to ...", "Go to ...", "Get player"
Then if you select "Teleport player to ..." It gives you another dialog where you can type the ID of the player and then another dialog which gives you a bunch of options of places to teleport that player to.
- Staff Management > lists all admins (if online> green name | if offline> red name)
Where then you can select "Manage" or "Back"
If you click Manage it gives you options to set his admin level, sub admin rank, ect
If you click back it brings you back to the main ACP dialog
I want it to be like an admin control panel where you can type, "/acp"
Then it gives you the following options,
- Punish > (another dialog with the following) Ban, Prison, Kick
- Teleport > (another dialog with the following) "Teleport player to ...", "Go to ...", "Get player"
Then if you select "Teleport player to ..." It gives you another dialog where you can type the ID of the player and then another dialog which gives you a bunch of options of places to teleport that player to.
- Staff Management > lists all admins (if online> green name | if offline> red name)
Where then you can select "Manage" or "Back"
If you click Manage it gives you options to set his admin level, sub admin rank, ect
If you click back it brings you back to the main ACP dialog