Demo Server
Demo Server is a framework for you to make a demo server for your plugin or anything else you need. When a player joins they'll be put into creative mode and teleported to the world "world" spawn.
They will not be able to chat, place blocks, break blocks, or run any commands if they are not op. To allow a command to be run import the plugin as a dependency and listen to the "CommandBlocked" event, if the command is a command you want the player to be able to run cancel the event. Example:
Code (Text):
@EventHandler
public void cmd(CommandBlocked event) {
if(event.command.equals("/plugins")) {
event.setCancelled(true);
}
}