[GEN] General 3.6.2 (Webern) -- A plugin for general commands, now on BukkitDev! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Celtic Minstrel, Mar 6, 2011.

  1. Offline

    Celtic Minstrel

    General 3.6.2 [Webern]
    NOTE: If you are updating from 3.4.1 or earlier, you must copy the aliases section from the sample config file into your own config file. If you don't do this, many commands will not work.
    Download from the BukkitDev page (Older versions | Source)

    General provides a small set of basic commands for your server. See more details on the BukkitDev page.

    General is a fork of Nijikokun's plugin. It adds a few commands to the original set provided by General.

    Without Nijikokun's original General plugin, this plugin would never have been possible. Or at least, I would not have made it. General Essentials (the source of the /kit command) was created by wjykk and has had some input from cjc343. The SpawnMob plugin, from which I adapted the code for the /mobspawn command, was created by xmlns and is now maintained by jordanneil23.

    I recommend using sk89q's CommandHelper in conjunction with this plugin. Starting from 3.4.5, there is a command-helper.txt file included with the download which you can copy to CommandHelper's config.txt for some handy aliases, such as /spawn and /home.

    Differences from cjc343's now-inactive fork
    • Does not detect that another plugin has registered the same command.
    • /playerlist and /who are two separate commands
    • Different items.db format
    • Does not support setting or viewing the raw time.
     
  2. Offline

    Celtic Minstrel

    ...what. How on earth did I manage to make that mistake? (I actually used the wrong class somehow.) Anyway, you can also use the § symbol in the same way as you formerly used & (though I suppose that risks encoding issues). I've fixed it and will probably release a bugfix version soon.

    As for /help and /motd, install CommandHelper and use the command-helper.txt script included in the download.
     
  3. Offline

    studog

    Sweet thanks! Love the mod! keep up the great work!
     
  4. Offline

    Mr_Fj

    I'm using PermissionsBukkit

    I've been trying for literally 2 hours now, I finally fixed it so I'm somehow admin and I'm not getting any errors in my server log. I can spawn items just fine, but when I try to teleport it says I don't have permissions??? What is wrong with my config :/

    And I shouldn't even be allowed to spawn items -_-
    In my General config, I have set permissions system to "Permissions" is this wrong?

    Code:
    users:
        Mr_FJ:
            permissions:
                permissions.*: true
                general.mobspawn.all: true
                general.teleport.all: true
            groups:
                - admin
    groups:
        default:
            permissions:
                permissions.build: true
                general.teleport.self.to.spawn: true
        admin:
            permissions:
                general.teleport.all: true
            inheritance:
            - default
    Changing permissions system to "Bukkit" gives me "command doesn't exist" for all commands.
     
  5. Offline

    Celtic Minstrel

    Are you using General 4.0? I don't think general.teleport.all exists in 4.0; it's just general.teleport. I forget about what it was like for 3.6.
     
  6. Offline

    Mr_Fj

    I think I'm using 4.0, but shouldn't I still be able to teleport to spawn because of inheritance from Default? And why can I spawn items? :S
     
  7. Offline

    Celtic Minstrel

    Yeah, you should be able to teleport to spawn.

    For why you can spawn items, it might be that you're an op. By default, ops get all permissions.
     
  8. Offline

    Mr_Fj

    But I removed op permissions :S
     
  9. Offline

    Celtic Minstrel

    I was just guessing. If you're not an op, I dunno. I'd recommend making sure (deop yourself) and also check the permissions.yml file in the server folder in case there's something hidden in there (unlikely, but who knows).
     
  10. Offline

    Mr_Fj

    I am an op, but I removed the standard op permissions, from within the General config.

    What should I write under "Permissions system" in the config, if I'm using permissionsbukkit?

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

    Celtic Minstrel

    @Mr_Fj – If you're on 4.x, nothing; it's not used. If you're still on 3.6.x, "Bukkit".

    You can check your version by using the "/version General" command.
     
  12. Offline

    Rsccman

    when starting 4.0.1 o.-
    Code:
    2011-11-02 19:05:51 [INFO] [AllPay] - Version 3.0 - hooked into iConomy 6 for General v4.0.1
    2011-11-02 19:05:51 [INFO] [General-4.0.1] Economy is disabled in the config file; no economy will be used.
    2011-11-02 19:05:51 [INFO] [General-4.0.1] [Codename: Vivaldi] Plugin successfully loaded!
    2011-11-02 19:05:52 [INFO] [General-4.0.1] Command alias iteminfo was not registered because [ChestShop] claimed it.
    2011-11-02 19:05:52 [INFO] [General-4.0.1] Command alias about was not registered because [Craftbukkit] claimed it.
    2011-11-02 19:05:52 [INFO] [General-4.0.1] Command alias mode was not registered because [General] claimed it.
    2011-11-02 19:05:52 [INFO] [General-4.0.1] Command alias setspawn was not registered because [SpawnControl] claimed it.
    2011-11-02 19:05:52 [INFO] [General-4.0.1] Command alias heal was not registered because [WorldGuard] claimed it.
    2011-11-02 19:05:52 [WARNING] [General-4.0.1] [Help] isn''t detected. No /help support; instead use /general help
    2011-11-02 19:05:52 [SEVERE] null loading General v4.0.1 (Is it up to date?)
    java.lang.StackOverflowError
    
        at java.lang.Character.toLowerCase(Unknown Source)
    
        at java.lang.Character.toLowerCase(Unknown Source)
    
        at java.lang.String.toLowerCase(Unknown Source)
    
        at java.lang.String.toLowerCase(Unknown Source)
    
        at org.bukkit.plugin.SimplePluginManager.getPermission(SimplePluginManager.java:417)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:185)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
    
        at org.bukkit.permissions.PermissibleBase.calculateChildPermissions(PermissibleBase.java:193)
     
  13. Offline

    Mr_Fj

    I'm using 4.x (can't remember which) I don't get it.
     
  14. Offline

    Celtic Minstrel

    Well, it doesn't look like it's General's fault, but I don't actually have enough info to be sure...
     
  15. Offline

    Rsccman

    only thing that was running was ====drumroll==== General 4.01! -.-
     
  16. Offline

    Celtic Minstrel

    Ah, it was your only plugin? That's a bit odd then, because I'm getting the impression that a permission loop was somehow created (ie A is the child of B and B is the child of A). I'm confused at how that could have happened, but it's the most logical explanation for something like this.
     
  17. Offline

    der_robert

    Hi,

    i have a problem with Generals. When i use the comment "/i stone", nothing happend and this is the Server Log Error:

    Code:
    2012-02-15 23:47:50 [SEVERE] [General-4.0.2] There was an error with command [inven.give] during PARSE! Please report this!
    2012-02-15 23:47:50 [SEVERE] [General-4.0.2] Full command string: [i 1]
    2012-02-15 23:47:50 [SEVERE] java.lang.NullPointerException
    2012-02-15 23:47:50 [SEVERE]    at net.craftstars.general.items.Items.name(Items.java:274)
    2012-02-15 23:47:50 [SEVERE]    at net.craftstars.general.items.ItemID.setName(ItemID.java:125)
    2012-02-15 23:47:50 [SEVERE]    at net.craftstars.general.items.ItemID.setName(ItemID.java:120)
    2012-02-15 23:47:50 [SEVERE]    at net.craftstars.general.items.Items.validate(Items.java:348)
    2012-02-15 23:47:50 [SEVERE]    at net.craftstars.general.command.inven.giveCommand.parse(giveCommand.java:36)
    2012-02-15 23:47:50 [SEVERE]    at net.craftstars.general.command.CommandBase.onCommand(CommandBase.java:58)
    2012-02-15 23:47:50 [SEVERE]    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    2012-02-15 23:47:50 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    2012-02-15 23:47:50 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:784)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:744)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732)
    2012-02-15 23:47:50 [SEVERE]    at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:101)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    2012-02-15 23:47:50 [SEVERE]    at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    2012-02-15 23:47:50 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Is it possible to fix it?

    CB: 1.1-R4
    Permission Plugin: PEX
     
  18. Offline

    flea1777

    general 4.0.2 doesnt work at alll with CB 1.1-R4 it loads the plugin but non of the configs work
     
  19. Offline

    Celtic Minstrel

    Oh? It seems to work for me. At least, I'm fairly sure I'm using 4.0.2. Though I might still be on R3. I forget.

    A fix this week might be possible, since I've a week off from school.
     

Share This Page