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:
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);
}
}
public void cmd(CommandBlocked event) {
if(event.command.equals("/plugins")) {
event.setCancelled(true);
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
DemoServer is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 99 times (via Spigot). Download it and open it directly in the game.