tonimatasdev / perworldcommands Goto Github PK
View Code? Open in Web Editor NEWMake a command only work in certains worlds.
Home Page: https://www.spigotmc.org/resources/perworldcommands.97003/
License: MIT License
Make a command only work in certains worlds.
Home Page: https://www.spigotmc.org/resources/perworldcommands.97003/
License: MIT License
Hello, I recently used your plugin and when I type all the commands this plugin in the console it shows me this error, could you examine it please.
I'm on Paper-1.18.2 and using the latest version of the plugin.
[13:27:51 WARN]: Unexpected exception while parsing console command "perworldcommands"
org.bukkit.command.CommandException: Unhandled exception executing command 'perworldcommands' in plugin PerWorldCommands v1.0.3
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:905) ~[paper-1.18.2.jar:git-Paper-278]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchServerCommand(CraftServer.java:868) ~[paper-1.18.2.jar:git-Paper-278]
at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:510) ~[paper-1.18.2.jar:git-Paper-278]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:484) ~[paper-1.18.2.jar:git-Paper-278]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1455) ~[paper-1.18.2.jar:git-Paper-278]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1225) ~[paper-1.18.2.jar:git-Paper-278]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-278]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at net.tonimatasmc.perworldcommands.commands.Commands.onCommand(Commands.java:17) ~[PerWorldCommands+1.0.3.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
... 9 more
Good day !
Hello, following your recent update, when I deop I have all commands permission and it can be used while when I'm op I have commands disallowed from worlds.
Hello, following your update today, when I launch my Spigot 1.19.3 server I have this error and following this, the plugin does not load and is not in the list of plugins ( ps: I only have your plugin installed, nothing else...).
[18:46:16] [Server thread/ERROR]: Could not load 'plugins\PerWorldCommands-1.1.0.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Cannot find main class `net.tonimatasmc.perworldcommands.PerWorldCommands'
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:69) ~[spigot-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[spigot-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[spigot-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.loadPlugins(CraftServer.java:428) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3615-Spigot-61bffe0-eecb4c0]
at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:219) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3615-Spigot-61bffe0-eecb4c0]
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:973) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3615-Spigot-61bffe0-eecb4c0]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:301) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3615-Spigot-61bffe0-eecb4c0]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: net.tonimatasmc.perworldcommands.PerWorldCommands
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:147) ~[spigot-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99) ~[spigot-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:467) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:67) ~[spigot-api-1.19.3-R0.1-SNAPSHOT.jar:?]
... 8 more
When I turn off the server this error appears, it only appears the second time I turn off the server, since if it is the first time I turn it off it does not occur.
[22:04:37 ERROR]: Error occurred while disabling PerWorldCommands v1.0.3 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "org.bukkit.configuration.file.FileConfiguration.save(java.io.File)" because "net.tonimatasmc.perworldcommands.manager.ConfigManager.messages" is null
at net.tonimatasmc.perworldcommands.manager.ConfigManager.saveMessages(ConfigManager.java:39) ~[PerWorldCommands+1.0.3.jar:?]
at net.tonimatasmc.perworldcommands.manager.UnregisterManager.unregister(UnregisterManager.java:8) ~[PerWorldCommands+1.0.3.jar:?]
at net.tonimatasmc.perworldcommands.PerWorldCommands.onDisable(PerWorldCommands.java:19) ~[PerWorldCommands+1.0.3.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[patched_1.17.1.jar:git-Purpur-1428]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:399) ~[patched_1.17.1.jar:git-Purpur-1428]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[patched_1.17.1.jar:git-Purpur-1428]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:514) ~[patched_1.17.1.jar:git-Purpur-1428]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.disablePlugins(CraftServer.java:495) ~[patched_1.17.1.jar:git-Purpur-1428]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:1064) ~[patched_1.17.1.jar:git-Purpur-1428]
at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:855) ~[patched_1.17.1.jar:git-Purpur-1428]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1356) ~[patched_1.17.1.jar:git-Purpur-1428]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.1.jar:git-Purpur-1428]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
Hello,
Is it possible that when you block an commands, the completion tab is removed, that would be a good idea I think.
Example:
Delete /test1 in world "world_nether" -> Delete tab completion for the command /test1 in world "world_nether" without deleting the tab completions of other worlds where the command in question has not been blocked.
Have a good day !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.