[INACTIVE][GEN] General 2.2.11 (Chernobyl) -- A plugin for general commands [860]

Discussion in 'Inactive/Unsupported Plugins' started by cjc343, Mar 2, 2011.

  1. Offline

    cjc343

    I fully recommend that you use Celtic Minstrel's General and cease to use this version.

    Celtic Minstrel's General (and Bukkit) now support command aliasing in a form that makes this version of General redundant. I am working on a final release which will attempt to upgrade existing 2.x users to the new version, but it will be faster to switch yourself (and potentially easier as well) rather than wait for this to be available.


    When switching, you should be aware that your existing configurations will not have an effect. You should take some time to familiarize yourself with the new config options available, as well as making sure that you copy in the new config files.

    If you have localized your items.db, you will need to transfer this to the new format.

    Sorry for the slow movement on this, I have been moving, on vacation, and then starting a new job and it has left my days quite full for some time now.

    Show Spoiler

    General 2.2.11 [Chernobyl] (Requires CraftBukkit 818-860+ & Permissions 2.x or 3)
    Downloads:
    Zip File (Contains items.db, general.help, general.motd, config.yml)​
    Old


    This fork of General provides basic commands while allowing other plugins to override them automatically. If another plugin registers a command, General will not use it. This allows you to replace only specific features with a different plugin simply by adding the other plugin as well. General will notify you at start-up when it gives a command to another plugin.

    General is a fork of Nijikokun's original General plugin, without which, this plugin would never have been possible.
    Features:

    Features:
    Commands:
    1. /afk | away (message) -- Set you AFK or set your AFK status.
    2. /playerlist | online | who (player) -- List players or info about a player.
    3. /spawn -- Return to spawn.
    4. /setspawn -- Change spawn to current location.
    5. /time help -- Provides more info about changing the time.
    6. /tp | teleport -- Teleport players or to a player. Type /tp for more info.
    7. /tphere | s (player) -- Teleports a player to you.
    8. /i | give | item [item ID | name in items.db] (amount) -- Gives an item by name or ID#.
    9. /msg | tell [player] [message] -- Send a message to another online user.
    10. /compass -- Direction reading.
    11. /getpos -- Detailed location information.
    12. /motd -- Re-display the MOTD.
    13. /reloaditems | rlidb -- Reload items.db.
    14. /help | ? (page) -- Prints help file.
    Permission Nodes:
    1. general.items: Controls /i, /give, /item

    2. general.spawn: Controls ability to use /spawn

    3. general.spawn.set: Controls ability to use /setspawn

    4. general.teleport: Controls ability to use /tp, /teleport

    5. general.teleport.here: Controls ability to use /tphere, /summon

    6. general.teleport.to: Controls ability to use /tp * [destination]

    7. general.teleport.silent: Prevents notifications when teleporting.

    8. general.time: Controls ability to use /time

    9. general.player-info: Controls ability to use /playerlist, /online, /who

    10. general.reloaditems: Controls ability to use /reloaditems, /rlidb

    MOTD:
    Functions Available:
    +dname | +d​
    Player display name.​
    +name | +n​
    Player name.​
    +location | +l​
    Player location.​
    +health | +h​
    Player health.​
    +balance​
    Player iConomy balance.​
    +ip​
    Player IP address.​
    +online​
    # of online users.​
    Color Codes (Put either '&' or 'ยง' in front of the color code):
    0: Black​

    1: Dark Blue​

    2: Dark Green​

    3: Teal​

    4: Dark Red​

    5: Purple​

    6: Gold​

    7: Light Grey​

    8: Dark Gray​

    9: Light Blue​

    a: Light Green​

    b: Turquoise​

    c: Light Red​

    d: Pink​

    e: Yellow​

    f: White​

    Config Files:
    items.db -- Goes in the root directory with your server.properties. On most setups, this will be the same folder as the CraftBukkit jar. If you are using MineOS, this is the 'one' 'two' or 'three' folder. A template for this file, and the other config files, is available in the ".zip" download.​

    general.help -- Contains general's help information.​

    general.motd -- Contains the Message of the Day. Leave blank for no message.​

    config.yml -- Allows you to change playerlist settings.​

    Change Log:

    Change Log:

    Version 2.2.11
    - Proper isCancelled checks.​

    Version 2.2.10
    - Fixed case-sensitivity issue with dynamic commands​

    Version 2.2.9
    - Built against Permissions 3​




    - Added support for 1.6 items​




    Version 2.2.8
    - iConomy 5 support.​

    Version 2.2.7
    - Added silence support to primary teleport case.​

    Version 2.2.6
    - Added general.teleport.silent Permission node.​

    Version 2.2.5
    - Updated items.db in zip file​
    - Added sapling variants​
    - Added TP messages​
    - Added check for command aliases that conflict with General​

    Version 2.2.4
    - Updated for 594+​
    - Added dependency to plugin.yml​
    - Fixed command checking for plugins loading before General.​

    Version 2.2.3.1
    - Fixed Permissions loading​
    - Changed iConomy loading method​

    Version 2.2.3
    - Changed Permissions loading method.​
    - Added 'general.teleport.to' permission node.​
    - Fixed error when using /who for an offline or nonexistent player.​
    - Updated example items.db to demonstrate 'damage' attributes, as mentioned (and implemented?) by Celtic Minstrel.​

    Version 2.2.2
    - Properly cancelled events that actually happen.​

    Version 2.2.1
    - Changed the way General checks other plugins for commands.​

    Version 2.2
    - Code Refactoring​
    - Uses new method to set spawn​
    - Eliminates direct access to CraftBukkit​

    Version 2.1.2.1
    - Fixed loop when permissions not present.​
    - Other small fixes and optimizations that I don't remember​
    - Old code cleanup​
    - Actually uploaded to github

    Version 2.1.2
    - Actually fixed iConomy (4.0) support.​
    - Fixed MOTD not appearing from some version​

    Version 2.1.1.2
    - Added support for 454+​
    - No longer throws NPE if config isn't present​

    Version 2.1.1.1
    - Fixed setspawn​
    - Fixed iConomy 3.0 iirc.​

    Version 2.1.1
    - Added Permissions 2.1 support.​

    Version 2.1.0.2 - By Tatsu-Kan
    - Added Beta 1.3 items.​

    Version 2.1.0.1
    - First release of "Unofficial General"​
    - Built for build 432+​

    Version 2.1 and Earlier are by Nijikokun with contributions from Celtic Minstrel, verrier, OniTux, and others? Celtic Minstrel has also created a fork of General. I will use it myself and stop updating this once Bukkit provides any interface for overriding other plugins. One method of achieving this is currently a low priority issue for the Bukkit team.

     
    Darkspear and Tazzernator like this.
  2. Offline

    rmb938

    Does not working with build 634. It is not a recommended build but most of the bugs are gone

    The commands work in console but not ingame

    Error:

    Code:
    18:26:06 [SEVERE] [General-3.3] There was a big problem executing command [give]! Please report this error!
    18:26:06 [SEVERE] [General-3.3] Full command string: [i 1 1]
    18:26:06 [SEVERE] java.lang.NullPointerException
    18:26:06 [SEVERE]       at net.craftstars.general.util.Toolbox.lacksPermission(Toolbox.java:131)
    18:26:06 [SEVERE]       at net.craftstars.general.command.giveCommand.fromPlayer(giveCommand.java:26)
    18:26:06 [SEVERE]       at net.craftstars.general.CommandBase.runCommand(CommandBase.java:13)
    18:26:06 [SEVERE]       at net.craftstars.general.General.onCommand(General.java:239)
    18:26:06 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    18:26:06 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    18:26:06 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
    18:26:06 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
    18:26:06 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
    18:26:06 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    18:26:06 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    18:26:06 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    18:26:06 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    18:26:06 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    18:26:06 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    18:26:06 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    18:26:06 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
     
  3. Offline

    Dr_Herbalist

    /spawn doesnt seem to work!
    I use the node:
    general.spawn
    tried:
    general.spawn.use

    Got nothing :(
    CB 617
     
  4. Offline

    cjc343

    You're running an outdated version of Celtic Minstrel's General. Version 3.3.1 is available.

    general.spawn is the correct permission for /spawn. I can't test this until later tonight, but I'll take a look at it as soon as I can.
     
  5. Offline

    serenewaffles

    Makes much more sense now. Thanks!
     
  6. Offline

    tehMorag

    Could we get an option to make it announce when someone TPs (whole server and/or to just that person)?
    Just like if they were an op ;p
    Thanks!
     
  7. Offline

    Kevin Forte

    I noticed how General gives commands to other plugins, and that's awesome :) Is it possible to make it so that it gives Stackables the '/s' command?
     
  8. Offline

    MathijsNL

    Hey, this plugin works great (On 617!)
    However, could you make some config file for it, where you can customize some things (like disabling death message or something, or other things)
    Or at least a config file for the death messages
    It has no priority though :)

    Greetz Mathijs, keep up the good work!
     
  9. Offline

    cjc343

    Currently testing with 670 and not having any issues with /spawn or /setspawn

    I'm not sure I understand the question. Do you want a notification sent to someone who is being teleported to? I'm not going to make it announce to the entire server when someone /tp's

    It looks like Stackable registers '/s' as an alias. I think General only checks for the root command. I should be able to add this soon.

    I don't believe General has any death messages...
     
  10. Offline

    tehMorag

    Just to that person would be fine

    I had run everyone as op before (before they knew what the commands where) And everyone enjoyed knowing when people warped to others and to them selves
     
  11. Offline

    EmVee

    Is there any reason why people aren't spawning where I set the spawn point at? They're spawning anywhere but, actually. It kind of ruins things when they're put on top of a mountain that primes them for another death after they've just gone through one.
     
  12. Offline

    cjc343

    Ok, aliases and /tp notices are on the list for next release.

    General uses Minecraft's built-in spawning methods. In multi-player, these are not 'exact' and instead spawn a user within a radius. You can use another plugin along with General such as SpawnControl in order to enforce an exact spawn.
     
  13. Offline

    tehMorag

  14. Offline

    MathijsNL

    I dont know how to quote, but if general doesnt have death messages, then there must be another plugin running that gives the death messages... strange :) plz ignore my previous post :D
     
  15. Offline

    tehMorag

  16. Offline

    thefinaldegree

    Would it be possible to have group-help commands?
    Like, when using /help:
    What Admins/Mods see:
    1. /admin_only-command [opt1] [opt2] explained
    2. /everyone_uses_this [opt1] [opt2] explained
    What Regular users see:
    1. /everyone_uses_this [opt1] [opt2] explained

    If this could be implemented, it would be so great ^_^
     
  17. Offline

    Celtic Minstrel

    Yes. Download jascotty's unnofficial build of the Help plugin by tkelly.
     
  18. Offline

    DutchxJapie

    how can i spawn items like purple wool: ID 35,10.
    Do i must type: /i 35,10 as command to spawn?
     
  19. Offline

    cjc343

    Assuming you've got the items.db file from the zip in the server directory, you should be able to use either:

    /i purplewool

    or

    /i 35:10
     
  20. Offline

    Thumm

    I just added 357=Cookie,cookie in items.db and reloaded the file but when I do /i cookie I get nothing. /i 357 works perfectly though. Any ideas on whats going on?
     
  21. Offline

    cjc343

    The names are not case sensitive, so try just '357=Cookie'

    Also, if you haven't reloaded/restarted the server since adding it, type /rlidb to reload the file.
     
  22. Offline

    Darkgreen6

    Some commands don't do anything like if I type "/online" it doesn't do anything and it doesn't say anything like "unknown command" Please help
    otherwise awesome plugin
     
  23. Offline

    cjc343

    I can't test until I get home, but it would help if you could paste a log of your server starting and you attempting to use the /online command.

    E: I can't reproduce this issue.
     
  24. Offline

    Darkgreen6

    Ok once craftbukkit is updated to 1.5 I will be able to do it
     
  25. Offline

    Draconicus

    Can't seem to give myself the new block IDs, like 27 and 28...
     
  26. Offline

    Kimber4

    not Mc1.5?
     
  27. Offline

    lolligertyp

    All works great on 699! Can you add /weather <set> <world/region> <radius> <weather>
     
  28. Offline

    cartman-2000

    Same here, can't give your self any of the new block types, not sure if all that it requires is the id's to be added to the items db or the plugin has to be updated with the new block id's.
     
  29. Offline

    cjc343

    Using the block IDs directly was working find for me for everything except saplings. Names require an updated items.db

    I have uploaded 2.2.5 which notifies players on TP, also detects aliases registered by other plugins, and adds sapling variants.

    The zip file includes an updated items.db with the new rails, web, cookies, and saplings.

    There are likely to be other plugins that do weather better soon. As it is, there aren't weather hooks yet.
     
  30. Offline

    Thumm

    Is there any chance of getting +online in the MOTD to display connected users names? Or instead of the number 1 make it say just you?
     
  31. Offline

    DaZeus

    On my server the /give, /i and /item command don't work, all other do :S I use build 733 and all my moderators have the right permissions, but it says that the user dont have access to this command...
    Can someone help? Thanks a lot.
     

Share This Page