WorldRestrict
WorldRestrict
Features
- Set a limit on the amount of players that can join a given world
- Commands to add/edit/remove limits
- Use permissions to bypass limit
Details
WorldRestrict is used to limit the amount of players that can be in a world at a time. It's extremely light weight, simply listening on teleport events and cancelling them if the world is at its limit.
Permissions
| Node | Function |
|---|---|
| worldrestrict.bypass.<world> | Allows player to bypass player limit on <world> |
| worldrestrict.cmd.wr | Allow usage of /worldrestrict without any arguments |
| worldrestrict.cmd.list | Allows user to list players in a world, and count them |
| worldrestrict.cmd.set | Allows user to set a world's limit |
| worldrestrict.cmd.remove | Allows user to remove a world's limit |
Commands
| Command | Args | Description |
|---|---|---|
| /worldrestrict list | [world] | List & count players of [world] |
| /worldrestrict set | [world] [limit] | Set the limit of [world] |
| /worldrestrict remove | [world] | Remove the limit of [world] |
Configuration
Default configuration: List worlds and their limit under "worlds" with format: world: limit
Set deny message if world is full in deny_message. You can use colours and <world> for the world name.
worlds: world: 30 world_nether: 30 world_the_end: 30 deny_message: '&cYou can not enter &7<world>&c because it is full!'
Feature requests, Suggestions and Issues
-
View User Profile
-
Send Message
Posted Jan 9, 2015could you please update this?
-
View User Profile
-
Send Message
Posted Sep 17, 2014I can't access the feature request page but my request is that you add configurable groups that have their own limits. These could be given to donators so that when the player limit is full for {world} they would start to fill up their limit.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@smack17 (If you're using groupmanager, but I'm pretty sure this works with PermissionsEx or whatever you use) Set per-warp-permission to true in config.yml and then do: You can just do /manuaddp <playername> -essentials.warp.<warp> hope I was helpful...
-
View User Profile
-
Send Message
Posted Sep 6, 2012Hi im making a request. Could you possibly add an ability to ban players from certain worlds?
-
View User Profile
-
Send Message
Posted Apr 19, 2012@GlabbichRulz
I don't really understand your reasoning to wanting a global world player limit.
-
View User Profile
-
Send Message
Posted Apr 17, 2012<<reply 638460>>
How did i do something wrong, besides downloading your plugin and keeping MSE up-to-date? :-/ (its probably a false-positive).
Atleast the source’s there so that’s a good thing ;-)
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted Apr 15, 2012Can you add a "Maximum Players at all Worlds"? Cause some Plugins like Essentials allow Admins to Join a Full Server, but my Host dont want more Players than Slots.
-
View User Profile
-
Send Message
Posted Apr 7, 2012@ThisUsernameIsMine
You did something wrong. Source is there, compile it yourself then.
-
View User Profile
-
Send Message
Posted Apr 7, 2012Microsoft Security Essentials is complaining about net/darqy/WorldRestrict/PlayerListener.class
Exploit:Java/CVE-2008-5353.WX
and blocks acces to the plugin ;-)
-
View User Profile
-
Send Message
Posted Apr 6, 2012@Xelatyper
http://dev.bukkit.org/server-mods/worldrestrict/files/4-world-restrict-1-1-1/
-
View User Profile
-
Send Message
Posted Apr 6, 2012@Darq_Alder
its only showing 1.1 is there its not showing 1.1.1
-
View User Profile
-
Send Message
Posted Apr 6, 2012@Darq_Alder
Thanks for the reply and for the fix, I will give it a try and see what happens.
-
View User Profile
-
Send Message
Posted Apr 6, 2012@Xelatyper
Yeah, sorry, sorry. I've uploaded a fix, it's because you're probably using Java 6 and the plugin was compiled under Java 7. Just click "Download" at the top and get 1.1.1, before it's approved.
-
View User Profile
-
Send Message
Posted Apr 6, 2012I have been waiting for a plugin like this but it does not seem to load it I get
INFO Unknown command. Type "help" for help.
When I try the commands
2012-04-06 16:22:56 [SEVERE] Could not load 'plugins\WorldRestrict.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/darqy/WorldRestrict/WorldRestrict : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: net/darqy/WorldRestrict/WorldRestrict : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
-
View User Profile
-
Send Message
Posted Apr 6, 2012@DarkByte7
Woops, forgot to list a permission. =)
Edit: it's there now.
-
View User Profile
-
Send Message
Posted Apr 6, 2012It says I don't have permission to do that command from in game even though I have the permissions. Works fine from the console.
-
View User Profile
-
Send Message
Posted Apr 5, 2012Released 1.1, with all suggested features from DarkByte7
-
View User Profile
-
Send Message
Posted Apr 4, 2012@DarkByte7
Yeah I can do all of that, I can do a list of players that are in an individual world, but I'm not going to put much effort into making it look pretty (you might be better off getting a plugin that can list per-world, such as this), but I can definitely show you a count of who's in the world, and the maximum.
I'll make the message customizable.
I'll add commands to change limits and to add or remove worlds.
Should be expect that by tomorrow. :)
-
View User Profile
-
Send Message
Posted Apr 4, 2012First, and waiting for plugin approval.
Suggestions:
That's all I got of the top of my head, hope it helps in a way.