Inactive [ADMN/GEN/CHAT/FUN] RoyalCommands v0.2.4 - Manage your server efficiently [1.2.5+]

Discussion in 'Inactive/Unsupported Plugins' started by jkcclemens, Feb 1, 2012.

  1. Offline

    jkcclemens

    If you can give me an example of Essentials userdata, I can write a converter for you.

    There is no /helpop or anything similar, but that may be added in the next release.
     
  2. Offline

    Smileymon

    Ok, so I want to use this plugin bad, but there is one thing. RoyalCommands is overriding essentials "/home" and resetting all of my server's set homes. Is there a way I could disable that for RoyalCommands, or what do you think I could do?
     
  3. Offline

    ziPancake

    I don't know what i'm doing wrong but any help would be appreciated:D When my member group, using PEX, types /help they get ALL the commands. They can't use all of them, only the ones i have assigned to them. Is there a way to disable the commands they don't have permission to?
     
  4. Offline

    jkcclemens

    You know that you're not supposed to use RoyalCommands AND Essentials at the same time, right? If people could provide me userdata from Essentials, I could write a converter, but there's nothing I can do without it. You can add home to disabled_commands if you really need to.

    People want this, but it's usually impractical. Use custom help if you don't want them to see all commands.
     
  5. Offline

    MinziMinzz

    how does the converter work because i dont want to put every data into this converter there are over 9000 datas now on my server and wait i post a userdata here
     
  6. Offline

    mahari3

    1.3.1 update for royal commands coming soon? :D
     
  7. Offline

    jkcclemens

    If you would read the BukkitDev page... =_=

    You can a) run an older version on 1.3.1, or b) use the dev build - changes on BukkitDev page.

    It'll be a python script that you run. I'll get started on a converter soon, but I'm busy as of late.
     
  8. Offline

    mahari3

    When I checked it there was no update -_-*... Guess you sneaked one in?
     
  9. Offline

    jkcclemens

    Minecraft 1.3.1 alert has been there for like two-three weeks, and 1.3.1 update has been there since 1.3.1 was released. :D Maybe you just skimmed over it.
     
    mahari3 likes this.
  10. Offline

    mahari3

    I assume so, when I was attempting to re-start my 1.3 server and got spammed with a SH** ton of errors I kinda freaked :p. I wouldn't doubt that I skimmed over it.
     
  11. Offline

    jkcclemens

    You can download the python script here.

    You can do something like
    Code:
    cd <my essentials folder>
    mv userdata userdata_bak
    python essentials_converter.py -u userdata_bak
    Make sure you rename the existing userdata folder, because the converter will try to write new files into a folder called userdata. I won't be held responsible if you butcher your userdata because you didn't take my advice.

    Also, I'm sure that's not all of the stuff an Essentials userdata file has, so it won't completely convert them. It will get homes for you, though.

    I suppose if you're really desperate, you could compress your userdata folder and send it to me, and I could convert it and send you the RoyalCommands userdata file, as well.
     
  12. Offline

    IBlackHawkI

    When does it update to 1.3.1 (sorry for bad speling I speak Germany)
     
  13. Offline

    jkcclemens

    It's 1.2.5+. You can use it on any build at or above 1.2.5. In other words, it's already okay to use on 1.3.1. Please see the BukkitDev page for more information.
     
  14. Offline

    IBlackHawkI

    Oh sorry is it already updatet sry (One of the best Plugin!!!!!)

    Wow fast support xD

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  15. Offline

    jkcclemens

    Haha! It's okay. :) Enjoy RoyalCommands, and thanks for the praise.
     
  16. Offline

    mahari3

    Royalcommands interferes with: LimitedCreative. (at least I believe that's the problem: your new /gm command is the problem. EDIT: I tried disabling the command as well, it didn't work. :'(

    Code:
    22:46:48 [INFO] [PLAYER_COMMAND] Mahari3: /gm
    22:46:48 [SEVERE] Could not pass event PlayerGameModeChangeEvent to LimitedCreat
    ive
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:324)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
            at org.bukkit.craftbukkit.entity.CraftPlayer.setGameMode(CraftPlayer.jav
    a:511)
            at org.royaldev.royalcommands.rcommands.CmdGamemode.onCommand(CmdGamemod
    e.java:34)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    90)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:878)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:281)
            at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
            at net.minecraft.server.ServerConnection.b(SourceFile:35)
            at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
            at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
            at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
            at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NullPointerException
            at org.bukkit.inventory.ItemStack.serialize(ItemStack.java:366)
            at org.bukkit.configuration.file.YamlRepresenter$RepresentConfigurationS
    erializable.representData(YamlRepresenter.java:33)
            at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepr
    esenter.java:96)
            at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseR
    epresenter.java:164)
            at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.represent
    Data(SafeRepresenter.java:201)
            at org.bukkit.configuration.file.YamlRepresenter$RepresentConfigurationS
    ection.representData(YamlRepresenter.java:23)
            at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepr
    esenter.java:96)
            at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseR
    epresenter.java:164)
            at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.represent
    Data(SafeRepresenter.java:201)
            at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepr
    esenter.java:96)
            at org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresen
    ter.java:66)
            at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:270)
            at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:261)
            at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:233)
            at org.yaml.snakeyaml.Yaml.dump(Yaml.java:209)
            at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConf
    iguration.java:38)
            at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguratio
    n.java:54)
            at de.jaschastarke.minecraft.limitedcreative.store.InvYamlStorage.store(
    InvYamlStorage.java:48)
            at de.jaschastarke.minecraft.limitedcreative.Inventory.save(Inventory.ja
    va:66)
            at de.jaschastarke.minecraft.limitedcreative.LCPlayer.onSetGameMode(LCPl
    ayer.java:207)
            at de.jaschastarke.minecraft.limitedcreative.listeners.MainListener.onPl
    ayerGameModeChange(MainListener.java:61)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:322)
            ... 21 more
     
  17. Offline

    jkcclemens

    Upon looking at my source, I see that I am doing nothing wrong. I am simply changing the gamemode of the player via standard practices with the Bukkit API. If anything, LimitedCreative is not handling its code right. If you look at the CAUSE of the stacktrace (the bottom half), you can see that the error actually originates from LimitedCreative, and not RoyalCommands.
     
  18. Offline

    mahari3

    Ok, the only reason I expected it had been you, was not because you did anything wrong, but because the command you used was the same that is used for LimitedCreative.

    I never thought that you had done anything wrong, just wondered if the command was causing this. I tried to disable the command in the config but it didn't work... i Figured it out... it was an error on my part
     
  19. Offline

    spacedestroy

    I use bpermissions and royal commands on my server and this happen when I try to use a command

    Code:
    [INFO] [PLAYER_COMMAND] Player: /gamemode Player 1
     
    [WARNING] [RoyalCommands] Player was denied access to that!
    can you help me?
     
  20. Offline

    jkcclemens

    Player should be doing /gamemode Player 1.

    /gamemode is a toggle between creative & survival. Doing /gamemode name mode assumes that you're trying to change someone else's gamemode, and requires the "rcmds.others.gamemode" permission.
     

Share This Page