InstaServer
Allows you to change the certain features of your server, on the fly. Even saves it into the server.properties for you.
Commands:
- /insta <sub command> ...
Sub Commands:
- motd <motd> - instaserver.motd - Changes the server list MOTD
- maxplayers <players> - instaserver.maxplayers - Sets the max amount of players allowed online
- flight <true/false> - instaserver.flight - Sets the vanilla allow-flight option
- pvp <true/false> - instaserver.pvp - Sets player PvP
- animals <true/false> - instaserver.animals - Allows animals to spawn
- npcs <true/false> - instaserver.npcs - Allows NPCs to spawn
- online <true/false> - instaserver.online - Changes online mode
Developer API:
Get an instance of InstaServer, and now you can use the following methods:
- public MinecraftServer getMinecraftServer(); Get instance of MinecraftServer
- public Properties getProps(); Get instance of server.properties
- public String getPropsPath(); Get String path to server.properties, for use with getDataFolder()
The below don't save to server.properties, either do that yourself or your changes won't be saved over restarts.
- public void setMaxPlayers(int players); Set the max players
- public void setMotd(String motd); Set the MOTD
- public void setOnlineMode(boolean enable); Set online/offline mode
- public void setPvp(boolean enable); Set PvP
- public void setNpcs(boolean enable); Set NPC spawning
- public void setAnimals(boolean enable); Set animal spawning
- public void setFlight(boolean enable); Allow/disallow vanilla flight
Usage video:
Please update
This plugin is awesome! Please update it if you can :)
Does not work with v1.3 =(
Update please!
@Adrenalineq
Not yet, I only included options that were right there within MinecraftServer/CraftServer.
@xKaikz
This plugin have enable/disable nether? because dont see at features :S
@10limabeans
Ok, looks like I need to compile for Java 6. I'll just put a new file up tagged with Java6.
Hello. I have errors...
Here :D
http://dev.bukkit.org/paste/5776/
@alexmack929
If you needed Java 7, then it would have an error. Without an error, there's nothing I can do.
@xKaikz
No error log, just doesn't try to load at all. Anythings I might need? Java 7 maybe?
@alexmack929
I'll need the error log then. If it works fine for me, there's not much I can do without a stacktrace.
Doesn't work for me?
.jar is in the right place - doesn't even attempt to load.
@Aangiix3
Yeah, I was kind of amazed no one had come up with it yet. I'm probably going to make it a full-fledged server.properties manager, since most of that stuff is accessible in MinecraftServer.
Absolutely amazing. Can't believe nobody has come with this up yet, almost all servers need this. Thank you!