[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

    MrKrucible

    no errors at all from any plugin that i use.
    i didn't get an error, but is this what your asking for? the general config file?
    Code:
    # The ops-only flag is used if the permissions system is set to Basic, and specifies which actions
    # should be restricted to ops. If any other permissions system is specified, it is ignored.
    # Valid permission systems: Basic, Permissions, GroupManager, WorldEdit, CraftBukkit
    
    permissions:
      system: Permissions
      ops-only:
       - general.time.set
       - general.teleport
       - general.teleport.other
       - general.teleport.coords
       - general.teleport.other.mass
       - general.summon
       - general.give
       - general.give.infinite
       - general.give.group.notitem
       - general.give.group.bedrock
       - general.give.group.fluid
       - general.spawn.set
       - general.spawn.other
       - general.getpos.other
       - general.clear.other
       - general.take.other
       - general.heal
       - general.mobspawn
       - general.kit.<kitname>
       - general.kit-now
       - general.admin
    
    # This section lets you restrict certain items to particular groups in the /give command.
    # The default configuration shown here restricts items that either are not an item (ie they
    # have a different ID for the corresponding inventory item) or are duplicates of another
    # item (eg the burning furnace). It also restricts bedrock and fluids.
    #
    # Note that this only blocks the user from using the /give command to get these items.
    # If they are obtained in any other way, there is nothing to prevent the user from
    # placing them. Use WorldGuard for that.
    #
    # The others-for-all setting specifies whether items not in a group are accessible by default.
    # If false, items not in a group can be considered as belonging to the group "other".
    
    give:
      groups:
        notitem: [26, 55, 59, 62, 63, 64, 68, 71, 74, 75, 83, 90, 93, 94]
        bedrock: [7]
        fluid: [8, 9, 10, 11]
      others-for-all: true
    
    playerlist:
      show-health: false
      show-coords: false
      show-world: false
    
    # If true, show the message of the day on login.
    show-motd: false
    time:
      format-24-hour: false
      show-ticks: true
    
    # This section is for if you want economy enabled. Currently the only accepted option is system,
    # which should be either None or iConomy.
    
    economy:
      system: None
      commands:
        timeset: 0
        heal: 0
        mobspawn: 0
        kit: 0
      items:
        351: 0
        276: 0
        # etc
    
    # The format that a chat message's first word must take for General to assume that the player
    # may be tagging another player. For example, if you set it to '@name', it will use Twitter-style
    # tagging. Tagging currently only means that the tagger will be informed if the player is away.
    tag-fmt: 'name:'
     
  3. Offline

    Celtic Minstrel

    Hm, yeah, that's what it should look like. Do other General permissions work?
     
  4. Offline

    DaddyCool64

    Ok, stoped the Server, replaced the items.yml with the one included in the zip, start the Server, stop the Server and start / stop again: NO ERROR. I think its work fine now.
    Thanks
    only 2 error:
    Code:
    [WARNING] [General-3.3.3] An error occured: either general.kits does not exist or it could not be read; kits ignored
    [WARNING] [General-3.3.3] [Help] isn't detected. No /help support; instead use /general help
    Sorry for my bad english
     
  5. Offline

    Celtic Minstrel

    Well, that's not helpful. Thanks for trying, though. :)

    Now I'm starting to wonder if it's just a case of people not copying over the items.yml in the first place...
     
  6. Offline

    semibreve42

    I'm not so certain this is a general only problem - I had a similar issue where my permissions yml for one of my worlds was getting replaced with {} whenever I did a /reload. The problem eventually went away on its own, under mysterious circumstances...
     
  7. Hey Celtic, May I ask why you changed /tp to full names? Because in your previous versions I could do "/tp cel" and it would teleport me to you (Celtic), but now I have to type my own name and THEN your full name (eg: /tp nishok celtic). I find this quite annoying tbh, because I have to teleport a lot for fixing stuff :(
     
  8. Offline

    Jan Tojnar

    /tp is not command of general you should use /tele or /teleport.
     
  9. Oh, my error. Thanks!
    I thought it was general, but now I have to go blame Notch :p
     
  10. Offline

    Celtic Minstrel

    ...wait, you can use partial names? I was actually not aware of that (must've been Niji code); you almost certainly can't in the latest version on my computer. Still, it's a useful thing, so I'll try to put it back in.

    By the way, /go is also an alias of /teleport if I recall correctly.
     
  11. Offline

    Connor

    If you really want the shortened "tp" command. You can always just add it as an alias to "tele" in the plugin.yml. I do that with some of my plugins as well.
     
  12. Offline

    Jmcmax

    How do i get command nodes for this?
     
  13. Offline

    cjc343

    Try the "Configuration" link.
     
  14. Offline

    Celtic Minstrel

    Thanks cjc.
     
  15. Offline

    LingYun

    Woo~ I'm moving on this plugin instead of essentials, I see there are different versions still~
    Do I understand everything right, this is going to be the main fork in future, right?

    Does it works fine with 740 btw? :)
     
  16. Yes it works with 740. And if Celtic keeps on working on it at this rate, then I'm pretty sure that this plugin will be the main admin plugin.
     
  17. Offline

    cjc343

    Yes, this is the future of General. If you're switching, go with it.

    There shouldn't be any issues on 740 but go ahead and try to find some nice, reproducible errors.
     
  18. Offline

    Celtic Minstrel

    It should; if you test it and let me know, I'll update the topic title.
     
  19. Offline

    Dalton Just

    Is there a /help for this?
     
  20. Offline

    Jan Tojnar

    /general help
     
  21. Offline

    RaCooN

    Great plug-in, just a couple of commands I found missing: does it have a /god, /ban, /unban, /kick feature?

    Also, could you add a feature in a coming release so that you don't have to typ the whole name in every command? If we look at Essentials, you can just enter the first three letters of a name and then it works -> saves you a lot of typing and is much quicker.

    For example if we want to teleport EnglishMan to AmericanBoy33 using the shortened syntax it would be -> /tp eng ame

    Just a suggestion and I'd love to see this added in a future release, this plug-in is way better then Essentials (in it's simplicity) but just to make it better I suggested the above commands ;)
     
  22. Offline

    semibreve42

    When I use /weather playername zap, it always gives me a "No world named playername" message, even as it creates the lightning.

    It would be nice if we could specify if we want a thunderstorm or a rainstorm with /weather too.

    Thanks.
     
  23. Offline

    jumika

    sorry. Not supposed to post it here.
     
  24. Offline

    SpyTec

    Works with 740 but theres some string bugs on some commands. Which are the ones that are optional [<name>]. Creepers doesn't seem to spawn anymore either :(
     
  25. Offline

    Celtic Minstrel

    No, and they're not planned. That doesn't necessarily mean they won't ever be added, but it's not especially likely that they will be.

    I'm not going to add this. You can add it yourself though by editing the plugin.yml inside the jar and adding the abbreviations as aliases.

    Existing short forms of teleport are /tele and /go; I removed /tp because it conflicted with other plugins, but if you prefer it you can add it back by editing the plugin.yml as I previously mentioned. (But note that if you do this you'll need to re-edit whenever you update.)

    If you have a good alias for any specific command, feel free to post it here; I may add it as a default alias.

    Ah, interesting. That's something I can look into.

    Yeah, I wanted to add that but it didn't appear to work so I left it out. It should be in the next release, I think. Whenever that happens. It may be a little while since I'm re-writing all the chunks of code that have not been rewritten since forking from Nijikokun.

    I doubt the creepers not spawning is anything to do with this plugin. Can you explain what you mean by string bugs?
     
  26. Offline

    RaCooN

    Thanks Celtic for making a really clear and structured reply, I guess I'll start editing the config's a little! Thanks again, keep up the good work.
     
  27. Offline

    Singso

    I really like your general plugin.
    And i don't just want to say thanks, i really mean it.

    It works with every single plugin i have installed on my server unlike essentials or the other generalplugin.
    Every command is well thought out and just works + got the most and usefull motd features from all plugins.

    Please keep up the good work.

    PS: Displaying iConomy-money is broken ;)
     
  28. Offline

    MrKrucible

    OK i was told to report this:

    Code:
    18:40:48 [SEVERE] [General-3.3] There was a big problem loading permissions system [permissions.system]! Please report this error!
    18:40:48 [SEVERE] java.lang.ClassNotFoundException: net.craftstars.general.security.permissions.systemPermissionsHandler
    18:40:48 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    18:40:48 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    18:40:48 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    18:40:48 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    18:40:48 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    18:40:48 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    18:40:48 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    18:40:48 [SEVERE]     at net.craftstars.general.General.setupPermissions(General.java:171)
    18:40:48 [SEVERE]     at net.craftstars.general.General.onEnable(General.java:119)
    18:40:48 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    18:40:48 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    18:40:48 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    18:40:48 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    18:40:48 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    18:40:48 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:287)
    18:40:48 [SEVERE]     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:201)
    18:40:48 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    18:40:48 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:247)
    18:40:48 [SEVERE]     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:394)
    18:40:48 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:379)
    18:40:48 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    18:40:48 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    18:40:48 [SEVERE] null loading General v3.3 (Is it up to date?)
    java.lang.NullPointerException
    
    so whats the error?
     
  29. Offline

    Celtic Minstrel

    It appears that you have specified an invalid permissions system in your General config.
     
  30. Offline

    BigMoomba

    Today i become with 740 and error XD now i have update to 766 and a new error is incoming XD

    Code:
    2011-05-10 12:44:14 [SEVERE] [General-3.3.3] There was a big problem executing command [inven.give]! Please report this error!
    2011-05-10 12:44:14 [SEVERE] [General-3.3.3] Full command string: [i woodpickaxe 1]
    2011-05-10 12:44:14 [SEVERE] java.lang.NullPointerException
    2011-05-10 12:44:14 [SEVERE]     at net.craftstars.general.util.Toolbox.lacksPermission(Toolbox.java:130)
    2011-05-10 12:44:14 [SEVERE]     at net.craftstars.general.command.inven.giveCommand.fromPlayer(giveCommand.java:26)
    2011-05-10 12:44:14 [SEVERE]     at net.craftstars.general.command.CommandBase.runCommand(CommandBase.java:17)
    2011-05-10 12:44:14 [SEVERE]     at net.craftstars.general.General.onCommand(General.java:239)
    2011-05-10 12:44:14 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-05-10 12:44:14 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    2011-05-10 12:44:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:278)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:682)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-10 12:44:14 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     

Share This Page