[INACTIVE][ADMIN][GEN]HunkleberryGeneral v0.75 - Friendly Commands [493]

Discussion in 'Inactive/Unsupported Plugins' started by Glen McNeilley, Feb 23, 2011.

  1. Offline

    Glen McNeilley

    HunkleberryGeneral - Friendly General Commands Plugin:
    • NEW-/msg, /reply and /afk. Better persisting. Sorted properties files. Better formed response from material matching.
    • NEW-Constraining functions, /setname may only set your own name, added /setothername. Added /home, /sethome, and /worldhome, /setworldhome- different options you may offer to groups that don't have full rights.
    • NEW-/setname persists through server restarts.
    • NEW-/sights, and /see, persisted world aware private named locations.
    • NEW-/worldloadlist, set worlds to load on startup. /hg_help displays only commands you can use.
    This is a friendly general command plugin with a number of excellent features. It will never do more than monitor the chat commands (nearly), which should allow for flawless integration with other plugins. In the event of a command name conflict a properties file is available to set an alias for the particular command, or all of them. Also provided is a config file for renaming the given Permissions2.0(Not Required) keys, and two config files that allow for the setting of server-wide and Ops permissions, all at the individual command level.


    Getting started:
    Please copy the plugin into your plugin directory and /reload your server to generate the plugins/HunkleberryGeneral/ path and properties files. Delete this path or these files at any time to have them regenerate with defaults at the next server reload.

    (alias functionality temporarily removed)
    (help with a workaround here)
    Download the C.B. 493+ plugin here (google docs)
    or wgetable (github)
    Download an example MOTD file here (google docs)
    Download the source code here (github)

    Commands of note:
    • /sights and /see, private named locations.
    • /leap and /flick, well implemented world-aware teleport command.
    • /getblock and /giveblock, itemdata aware inventory generators for items under your crosshair.
    • /slay and /cleardrops, to clean up any messy world spawns
    • /strata, a command which allows you to teleport x number of air/solid block transitions (stratum, loosely) such as walls, mountains, trees,..., e.g., using /strata 3 while looking at the ceiling at the bottom of a multi-story building will teleport you 3 floors up. Last but not least using /strata 0 will teleport you to the face of the solid under your crosshair, as long as safe ground is below.
    • /setworldtype, creates a file in the world directory that permanently declares the environment of the world. This file is read by /loadworld, negating the possibility of messing up the world by using the wrong environment type.
    • /worldloadlist, set the worlds that will load on startup.
    Commands:
    (FULL COMMAND LIST MOVED, OUT OF ROOM HERE)
    CLICK TO SEE COMMAND LIST (open)

    Inventory
    /get {itemId|itemName} [quantity:default=1] [itemData:default=null]
    /give {playerName} {itemId|itemName} [quantity:default=1] [itemData:default=null]
    /getblock [quantity:default=1] [itemData:default=targeted]
    /giveblock {playerName} [quantity:default=1] [itemData:default=targeted]
    /clearinv [playerName:default=self]
    /clearinvall [playerName:default=self]
    /listinv [playerName:default=self]
    /matcontains {string}
    Personal
    /heal [playerName:default=self]
    /setname {newName} [index,color/...:default=no color]
    /setnameother {playerName} {newName} [index,color/...:default=no color]
    /who [world:default=all] [brief|long:default=brief]
    /playerinfo
    /colorchart
    /setspawn [{x} {y} {z} [worldName]]:default=current location
    /setcompass [playerName] [x y z] [here]:default=current world spawn
    /compass
    /loc
    /msg {playerName(*=all)[.worldName(*=all):default=all]} {message}
    /reply {message}
    /afk [message]
    Teleport
    /home
    /sethome
    /worldhome
    /setworldhome
    /sights {add|remove|list|save}[name:req. for set|remove]
    /see [name:default=home]
    /leap [[worldName] [playerName] [x y z]]:default=current world spawn
    /fling {name}[worldName] [playerName] [x y z]:default=current world spawn
    /gather [playerName:default=all] [worldName:default=all]
    /spawn
    /strata [number:default=0]
    Server
    /motd
    /slay
    /cleardrops
    /gettime [playerName:default=self]
    /time [playerName:default=self] [time:default=noon]
    /listworlds
    /loadworld {worldName}
    /createworld {worldName} {normal|nether}
    /setworldtype {worldName} {normal|nether}
    /worldloadlist {add|remove|list|save}
    /hg_help [command]:default=list commands
    /listplugins
    /bounce {player} [minutes:default=forever] [message]
    /unbounce {player}
    /bounceip {player} [minutes:default=forever] [message]
    /forcebounce {player|ip}
    /listbounced
    /reloadbounced
    /loadplugin {name}
    /disableplugin {name}
    /enableplugin {name}
    /clearplugins
    /writehtml (no arguments)
    /writebukkit (no arguments)
    /writeyaml (no arguments)
    /setcommandalias {command} [alias:default=""]
    /setserverallow {command} {true|false}
    /setopsonly {command} {true|false}
    /setpermissions {command} [new string:default=""]
    /saveproperties
    /reloadproperties

    Changelog:
    CLICK TO SEE CHANGELOG (open)

    • 0.75 /msg, /reply, /afk, persistance tweaks, matching list tweaks
    • 0.74 /setname v./setothername, /home, /sethome, /worldhome, /setworldhome
    • 0.73 added url to enable string while forums were down. /bounceip back again
    • 0.72 /setname now persists
    • 0.71 bugfix sight naming
    • 0.70 bugfix doc now reads add rather than set for /sights, rounded off /values.
    • 0.69 /sights, /see, internal data storage refactor.
    • 0.68 /worldloadlist, hg_help shows only commands you can use Head/440 builds
    • 0.67 /bounce,/bounceip,/unbounce,/forcebounce,/reloadbouncer,fix compass, refactor for new command setup
    • 0.66 /compass, /spawn, fix /time Holding C.B. at 444 for peace of mind for a bit
    • 0.65 /gather, better material name matching
    • 0.6 /who, /playerinfo, /setcompass
    • 0.51 bugfix for setname C.B 450
    • 0.5 /matcontains, material name matching, player alias matching.new delimiter for MOTD

    Task List:
    CLICK TO SEE TASK LIST (open)

    • persist player name changes, named locations, custom time settings
    • add many more of the common [GEN] and [ADMIN] commands /god, /tree...
    • kits.txt support
    • let me know what would be useful
     
    Jandalf likes this.
  2. Offline

    Glen McNeilley

    /kick /ban is will be uploaded tonight, I have to get some other work done atm, sorry for the delay
    --- merged: Feb 27, 2011 5:34 PM ---
    I'm trying to decide on player/world level persistence. Tough one. The chat interface isn't a good data manipulation ui and yaml really shouldn't be written by hand, or by anything that isn't completely aware of the data structures. I'm not really that big of a fan of properties files, but they are SUPER friendly...until you have too many of them.
    On it goes, something soon.
     
  3. Offline

    britefire

    For some reason, it is erroring out on me when I start my server.
    This is a copy of the error from the log.


    Code:
     [SEVERE] PLAYER_COMMAND loading HunkleberryGeneral v0.66 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
        at com.LandOfGlendria.HunkleberryGeneral.HunkleberryGeneral.onEnable(HunkleberryGeneral.java:27)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    I am running Windows 7 64-bit with java

    Java(TM) SE runtime enviroment (build 1.6.0_20-b20)

    thank you for any help. :)
     
  4. Offline

    RustyDagger

    Also i noticed that Your /compass Dont report the same directions as world edit I use /compass and it say north i said expand region north and it seemed to expand to what yours called east.....
     
  5. Offline

    Glen McNeilley

    Thanks for giving it a shot, I hope it works well for you.
    I will, unless I am missing a provider with better options it seems that you don't get direct linking and versioning unless you pay, which I have (mdn.com), and still haven't seen my account upgraded...wgetable as soon as they deliver. I hope you don't have to wait too long.
    --- merged: Feb 27, 2011 5:51 PM ---
    lol, I'll spin the directions in the build tonight. I didn't have a reference and apparently made the wrong assumption.
    --- merged: Feb 27, 2011 5:53 PM ---
    I will look, unfortunately I am off to work just this moment. Make sure you are using a craftbukkit build within a few revisions of 444.
     
  6. Offline

    Ashepherdspie

    Also, do you think you could add tp (tp, tphere) commands, so some users can use tp withouout having access to give with OP
     
  7. Offline

    Jandalf

    oh yeah this is what i want, the adaptability, i can change everything, oh i need a day to try everything out:) man i like u:)
     
  8. Offline

    britefire

    Sorry for the trouble, turns out I had the wrong craftbukkit version, lol
     
  9. Offline

    JD230

    um, please help out here. i'm on Mac OSX 106.6 Snow Lepoard Java 6 and i get this error code, 18:54:36 [SEVERE] PLAYER_COMMAND loading HunkleberryGeneral v0.66 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
    at com.LandOfGlendria.HunkleberryGeneral.HunkleberryGeneral.onEnable(HunkleberryGeneral.java:27)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:115)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    i'm not using permissions BTW as well, and have the LATEST verison of bukkit.
     
  10. Offline

    RustyDagger

    Ideally i'm looking for a portal system that requires a permission node to use. But i cant find any...
     
  11. Offline

    hakutzu

    Actually , No, What i ment was that you can add a block list for certain IDs so people if they use /get or /give , if the id they want is on block.txt , it woun't give it to them (Even if they are Admin on server).
    And im glad u care about what people want for the plugin , the more ideeas u get the better ur plugin will be :)
     
  12. Offline

    RustyDagger

    I found the portal system i was looking for (travelPortals) its major win Only problem i have on my server now is that when the server restarts it dont auto reload the worlds i had. before it restarted :(

    If you could add that in some way maybe just add it to the end of the type file like a status loaded /unloaded and on start up check to see if it needs to be loaded and if so auto load it. Not sure how you would hook server start up prob in the initialize section. I would think.
     
  13. Offline

    CrAzYfReAk101

    Will you be able to make a /savename for the /setname command? That would make it so much more efficient, so I dont have to keep on re-naming myself each time I or someone else dies or disconnects.
     
  14. Offline

    Glen McNeilley

    I will.
    Working on your suggestion, it sounds good.
    Banning is done, my way :/ more complicated than I expected to go outside the box on that one, I hope it works for you. Give me feedback.
    That's the big one. One of my personal mandates with this plugin is to be forward compatible, not locking out the early adopters, as I am one myself. The new builds of bukkit/craftbukkit totally broke the way I was doing things. The refactor wasn't huge, but getting to work as I wanted was challenging. So, you should be fine now. Unfortunately, there is no way to integrate backwards compatibility in that I can see. Others may be stuck using their older version.
     
  15. Offline

    CombatTom

    This plugin is great! I've just started using CraftBukkit instead of hMod, and am loving it. One thing I miss are the /home and /sethome (players could create their own "home" locations and teleport to them on their own) commands. Are there any substitutes in this plugin, or is it possible to add them?
     
  16. Offline

    Glen McNeilley

    In the works. I'm glad you like it!
     
  17. Offline

    souterain

    Super plugin, thanks! It's made my little server really friendly.
    A query though: I have aliased the /help command to /hg_help.
    When a user gives this command, they get a list of all the commands, not just the ones they have permission to use. Is there a quick fix for this?
    Thanks in advance.

    Also can the download be made to work with CraftBukkitUpToDate? TIA again!
     
  18. Offline

    Glen McNeilley

    Submitted a link to UTD, thanks for the suggestion!
     
  19. Offline

    TPMJB

    This plugin works great, but my console doesn't seem to recognize /bounceip. I've been having a problem with a Spanish griefer who keeps changing names.

    Also do wildcards work? I might just ban the country...
     
  20. Offline

    Glen McNeilley

    bounceip was accidentally left out of the config file. I'll get it up soon. In the meantime use /forcebounce /x.x.x.x

    lol, ban spain... Sorry, no wildcards yet. Added to the list
     
  21. Offline

    TPMJB

    Thanks! Keep up the good work!
     
  22. Offline

    JD230

    thanks man, i-redownloaded this and updated bukkit and it works perfect. keep up the great work and add to where u can make groups like Admin, mods, ops and etc, that would be cool. :D
     
  23. Offline

    CrAzYfReAk101

    Question, just updated to the latest HunkleberryGeneral... And I noticed all of my plugins, ALL OF THEM, except this... Was broken... Was this to be expected?
     
  24. Offline

    Glen McNeilley

    I certainly wouldn't expect my plugin to be the cause<shudder>. I expect that they will catch up rather quickly. You can try downgrading your craftbukkit to 440ish and you should expect most things to work. I'm still trying to find a middle ground that works at both ends.
     
  25. Offline

    RustyDagger

    yer your version of bukkit required is 2 high to work with things like world guard and world edit most server owners wont upgrade untilll those plugins are ready to move. i believe any thing under 450 will work with world edit and world guard 450 and up changes the commands some how or some thing and having a higher version screws up the plugin loader and makes the plugins not load at all.

    Just for the record The latest Recomended Build For us server owners is 440 And i would think most server owners are close to that To theres Your middle right there From that to the next major change aka 450

    also its good to keep this build you made here cause some people will want it just add another download link for a 440 version or some thing idk.

    Also dude Nice update but srsly you have the weirdest command names...
     
  26. Offline

    Kevin Forte

    I updated a few of my plugins at the same time, and I got this:

    Code:
    22:34:01 [SEVERE] com.LandOfGlendria.HunkleberryGeneral.HunkleberryGeneral.getCo
    mmand(Ljava/lang/String;)Lorg/bukkit/command/PluginCommand; (Is it up to date?)
    java.lang.NoSuchMethodError: com.LandOfGlendria.HunkleberryGeneral.HunkleberryGe
    neral.getCommand(Ljava/lang/String;)Lorg/bukkit/command/PluginCommand;
            at com.LandOfGlendria.HunkleberryGeneral.HunkleberryGeneral.onEnable(Hun
    kleberryGeneral.java:105)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:419)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:80)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    I believe I am on build 450, which (correct me if I'm wrong) is the most recent. Any idea what's going on?
     
  27. Offline

    Glen McNeilley

    474 is what I built this last one to, and I suppose I have to agree that it may be a bit too cutting edge, I'll have a build up later tonight that is more friendly. It'll also include auto world loading on startup! It works very well, just one last easy utility command to put together. (with a sane name, coincidentally :).
    --- merged: Mar 1, 2011 4:13 AM ---
    Also, on the help command question. That is a good idea and I should be able to work that in fairly quickly.
     
  28. Offline

    Kevin Forte

    There's a 474? Apparently CraftBukkitUpToDate isn't functioning either lol.
     
  29. Offline

    Jandalf

    hm, i have problems to structe these mass of commands;) i want to sort the commands in the files after name, but your plugin resets it erverytime it reloads:( is there a possibility to make this? or the best thing would be a table like a csv file so that all 4 file could be merged to one?
    --- merged: Mar 1, 2011 10:27 AM ---
    for what exactly is /colorchart because it shows my numbers from 0-15, but the standart colors ar from 1-f. are these the colors for setname?
     
  30. Offline

    TPMJB

    This pugin works great. I concur on the /sethome and /home. I have a separate plugin for this, but if you implemented it in yours that would reduce clutter.

    Keep up the good work! I like the /bounceip
     
  31. Offline

    CrAzYfReAk101

    One more question, would using permissions conflict with this? Or does this have it's own permission plugin? If not, that would come in handy if people wanted plugins such as iConomy, etc.
     

Share This Page