[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

    That would be Essentials. :p

    General already has message of the day, and the only other command I plan to add is /mobspawn. (And some administrative commands, but they don't really count.)

    I'm honestly not sure what could cause that. If you like, you can report it as a bug here so I don't forget about it; most likely I would have to take a look at Craft Essence to see why it might happen, so it's not terribly high priority.

    Uh, you mean you put "show-motd: true" in Permissions's world.yml? That's wrong, it needs to be in General's config.yml.

    Should be in the General directory, and if your filesystem is case-sensitive (which I doubt) it would need to be all lowercase.

    ---------------------------------------------- ANYWAY! ----------------------------------------------

    Version 3.2.3
    • Added the general.away permission to control access to the /away command
    • Added the general.basic permission. This is equivalent to giving all of the following permissions: general.time, general.playerlist, general.who, general.away, general.getpos, and general.tell
    • Changes to the /time command:
      • Switched the arguments to make more sense; the world now comes first if present.
      • Now supports vanilla syntax, but with the extensions of General. This means /time set <time> and /time add <duration>.
      • You can set negative ticks; this is taken as the time remaining until the day "rolls over", which is just after sunrise.
    • Vanilla syntax for /give (and the equivalent on /take) is partially supported; with three arguments, the player can come either first or last. With two arguments, the player must still come last.
    • Fixed error in default items.db; RedMushroom actually pointed at the gold block.
    • Kit definitions in general.kits now support the names of items as well as the IDs.
    • Item aliases defined in items.db can now contain underscores, apostrophes, and hyphens in addition to letters and numbers
      This means the fallback aliases (the Material enumerations) now work; that is, even if you choose not to use the items.db (or put it in the wrong place!), you can use the item names that Bukkit defines.
    • Bugfix: The kit loader no longer gives an error for empty lines
    • Players can be "tagged" by saying their name followed by a colon. If the player is marked as away, the person tagging them will be informed. Tagging does nothing else besides this.
      If you don't like the "name:" format for tagging, you can set the "tag-fmt" configuration option. For example, "@name" will give Twitter-style naming.
    • Implemented what I, for lack of a better name, have called "hooks" in the /give command. Basically, this means that things like "axe:gold" will work as you might expect, provided that you copy over the new items.yml.
    • New MOTD variable, +p or &list;, to show a list of online players.
    • The time in the MOTD will be formatted just like with the /time command.
    • You can no longer specify what items are damageable and which ones cannot stack in the items.yml
    • An issue with /take was fixed where "/take lapis" would remove all dyes. It now removes just lapis lazuli. However, "/take dye" still removes all dyes; the difference is that the latter doesn't specify a data value in items.db.
    • Added an /items command to give several commands at once (requires general.give.mass)
    • Added /whois as an alias for /who
    • Removed /setspawn; use /spawn [world] set instead.
    • Changed the abbreviation of /teleport from /tp to /tele for TelePlus compatibility; hopefully this doesn't break some other plugin instead.
      In a nutshell: /tp is now /tele

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


    OK I have the latest 3.2.3. version, im running on a mac.
    My other addins are: Permissions, iConomy, Bettershop, mcmmo,citizens,heroicdeath,BigCatch,ichat and imonster.

    And iw as the config.yml i edited in General :)
  4. Offline

    Celtic Minstrel

    Glad it all works for you. I test on a Mac too! :D
  5. Offline


    ahhh noo.. sorry... it isnt working :(
  6. Offline

    Celtic Minstrel

    Oh sorry, I didn't notice you were the same person who complained on the previous page. XD

    So, your motd doesn't work? Do you get a "No MOTD available" message when you join the server?
  7. Offline


    The message I get is 'No message of the day is available'
    It is in red.
    This is the same on a general account or my admin account.
  8. Offline

    Celtic Minstrel

    Does the General folder in the plugins folder contain a file called "general.motd"?
  9. Offline


    Indeed, my minecraft/plugins/General directory contains a plain text file called general.motd that contains:
    &3 Welcome to &2 -minecraft server name here- &f +d &3!
    &3 There are +online players online!

    Will it conflict with /mcmmo that contains a motd that I havent set up?
    Is there a way to set which one is used?
  10. Offline

    Celtic Minstrel

    It should not conflict with /mcmmo. If the general.motd file does exist but the server can't find it, it's probably because it's inaccessible for some permissions-related reason. What OS are you running the server on? Do you have a special "minecraft" user that does nothing but run the server (might not be applicable to Windows; I don't know much about permissions there)?
  11. Offline


    im Running on a iMac with snow leopard.
    Im using Crafty 0.7 to run craftbukkit 525

    AHA sussed it
    Went into Get Info and saw there was a .txt at the end of it - removed that and VOILA
    Thanks for bearing with me

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


    I noticed when you do /who it gives the user name and display name. Is there any way to change your display name or no? I don't see anything on the command list.
  13. Offline

    Celtic Minstrel

    Ahhh, you must have had file extensions hidden. :)

    General doesn't provide a way to change display name, but some other plugins do. It probably will not be included in General in the near future, since it would cause conflicts with those other plugins.
  14. Offline


    I am getting this error every time I start the server up.

    19:25:11 [WARNING] [General-3.2.3] Could not open items.db!

    Also got it with the previous version
  15. Offline

    Celtic Minstrel

    That doesn't really matter; it just means the plugin could not find the items.db file in the server directory. All functionality will still work, except that for item names you'll be restricted to the ones here.
  16. Could you possibly add a muter function to this?
    The only plugin I found that has /mute function is essentials, but i don't wanna use essentials just for its mute
  17. Offline


    Shouldn't the items.db be in the plugins/General directory and not in the server directory?
  18. Offline

    Celtic Minstrel

    I will consider it, but chances are low. To me, that fits more in a chat-oriented plugin.

    Ideally yes; it was initially kept in the server directory for backwards compatibility, though 3.0 broke that anyway. In 4.0, the info in items.db will be moved to items.yml, and in 3.3 General will read the info from both places as a transitional measure, and save the data to items.yml so that after running General 3.3 you can just delete the items.db altogether without losing anything.
  19. Offline


    general.heal isn't working for the players I have given it to as a privilege...however, I can /heal with '*' privilege. Did the name of the permissions node change?
  20. Offline

    Celtic Minstrel

    Hm, that's odd. I'll look into it.
  21. Offline


    No rush :) I'll post a report for you tomorrow.
  22. Offline


    Whenever anyone tries to use the command "/kit tools" who doesn't have * permissions it says they don't have permission. The default player in permissions has access to general.kit.tools and general.basic
  23. Offline

    Celtic Minstrel

    First of all, as I recall, the player would also need "general.kit" in order to access any kits at all. If that doesn't fix it, it's probably related to the /heal permissions problem, which means I need to look into it.
  24. Offline


    thanks that fixed it
  25. Offline



    Hi this is a great plugin, but i don't know how to use the kits. There is not kits file or even a kits section in the configuration. I read the read-me but i am still having problems with it. Can you please explain this?
  26. Offline

    Celtic Minstrel

    There is a small section in the readme. Basically, you need to create the general.kits file and put lines like this in it:
    That creates a kit called StarterKit, which gives a compass, a clock, and four apples. It will forbid players from getting it a second time until they have waited for 1000 seconds or more. (Though logging out and back in might override that. Dying also might.)
  27. Offline


    Ey man, what's the permissions if your using perms_groups.txt and perms_users.txt? You know, WEPIF
  28. Offline

    Celtic Minstrel

    Should be the exact same as with other permission systems.
  29. Offline


    Hi, there is a bug involving /tp /teleport and /tele.
    I know you changed /tp to /tele.
    I allowed myself to use "general.teleport" in permissions (so I can teleport myself only):
    /tele and /teleport say i dont have the permissions to do it
    /tp works but always says "you do not have permissions to teleport players".
  30. Offline

    Celtic Minstrel

    I have no idea why that might be the case, but I'll try to look into it. It would help if you posted the exact command you entered, the exact message you got in response, what (if anything) happened, and the exception stack trace (if any) from the console that appeared as a result of doing the command.

    I suppose you could also try restarting your server. I have no idea if that would actually do anything.
  31. Offline


    hi, in which folder should i put the "general.kits" file and what extension should the file be ? (.yml)?
    and i get this error when i start the server: [HELP] isnĀ“t dettected. No /help support; insted use /general help
    What is wrong?

Share This Page