[INACTIVE][GEN] Kikkit v2.5.5.2 - temporary whitelist, fire whitelist, basic economy, extras

Discussion in 'Inactive/Unsupported Plugins' started by Kr1sc, Jan 17, 2011.

     
  1. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This mod really was an hMod plugin that simply ran a whitelist for specific periods of time. I extended it to include a whitelist for fire/lava/tnt and then built in a lot of the hMod commands when Bukkit was updated for MC 1.2. Most recently I have been adding some economy stuff, but it will be awhile until it is complete.

    All commands have a "?" switch to give the player information about the command (example: /tp ?).
    Many of the commands have shortcuts (usually mentioned in the help text).
    The plugin supports groups, group colors - but no permission inheritance.
    The plugin also saves things like warps, homes and secrets in the world folder.
    Note that the /clearinventory command accepts a player name argument and no additional security check is done when this is supplied.
    The whitelists can be disabled (temporarily) using an empty version of their command (/fire, /tempwl)

    Last Tested Bukkit Build: 86
    Last Tested CraftBukkit Build: 165
    Compiled download (2.5.5.2): (.zip) (.tar.gz)
    Source: https://github.com/jsedlak/Kikkit
    Help/Wiki: https://github.com/jsedlak/Kikkit/wiki (now outdated)

    As a side note - I am not a Java programmer so my code may look like a C# developer wrote it. Comments, critiques are also welcome.

    Update (2.5.5.2)
    Kikkit 2.5.5.2 (.zip) (.tar.gz) - files contain readme and sample configuration. Please note the name changes to the files.

    Basic overview of changes:
    • Reorganized configuration to reflect plugin name
    • Added support for custom MOTD (see zip file: config/kikkit.config)
    • Added support for custom currency names
    • Built out economy support (/buy, /sell, /getprice)
    • Made economy more robust (relative to version 2.4.*)
    • Added /removewarp command
    • Added /stock command (for restocking economy)
    • Made the maximum amount of ignite attempts configurable
    • Added Lava to the fire whitelist (still need to separate these out)
    • Depending on your version, some of the files were moved into the world folder to make them local to each world (IE: warps, homes, et cetera). The format hasn't changed - just the location.
    • Other code fixes and cleanups that are purely maintenance related
    All Commands
    Here are all the commands:
    To find out more, in game type the command and a "?" like so:
    Code:
    /kick ?
    • /kick
    • /warp
    • /setwarp
    • /removewarp
    • /home
    • /sethome
    • /secret
    • /setsecret
    • /warpto
    • /tp
    • /tphere (/tp)
    • /item
    • /clearinventory (/ci)
    • /buy
    • /sell
    • /getid
    • /getprice (/gp)
    • /setprice
    • /murder
    • /stock
    • /fire
    • /tempwl
    • /a
    • /v
    • /warplist (/listwarps)
    • /time (/day, /night)
    • /spawn
    • /playerlist
    • /balance
    • /msg
    DJKdunc likes this.
  2.  
  3. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey dude can u help me with your plugin, ive installed it, and ive read the "Help/Wiki", but i cant find the config folder, and it doesnt create it by it self, i dont know would be awesome if u could help ;).
  4. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The config folder doesn't get created by itself. Let me upload a zip with a basic example for you. :)

    Edit: Uploaded and added to the original post.
  5. Offline

    GEN3RIC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nice, been looking for something like this. I see you get around btw.
  6. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    WOAH.

    It's official: the internet is TOO small.
  7. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    awesome thanks dude :)
    --- merged: Jan 17, 2011 2:07 PM ---
    hey could u make a txt file or post a link with the color codes so i can change them. because i dont think i understand the kind of color codes it uses :) thanks in advance
  8. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  9. Offline

    GEN3RIC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Haha. We're both gamers and programmers. We shall all converge on Bukkit.
  10. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i would actually not get surprised if there were someone who stumbled upon this and recognized my name as i am at this username half across the internet :confused:
    --- merged: Jan 17, 2011 2:33 PM ---
    okay thanks, i must be honest it took me a little while to figure out your example but i get now :D
    Edit: ehm yeah i still dont get it ;( can u tell me the color code for cyan/or light blue ;)
  11. Offline

    s0nge

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Everytime i type the command /warplist my game crashes. anyone else having this issue? Using build 66
  12. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I will look into this.
    Have you added a warp yet using setwarp?
  13. Offline

    marlenadia

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    running build #66 i get after trying /warplist



    Minecraft has crashed!
    ----------------------

    Minecraft has stopped running because it encountered a problem.

    If you wish to report this, please copy this entire text and email it to support@mojang.com.
    Please include a description of what you did when the error occured.



    --- BEGIN ERROR REPORT a1dce528 --------
    Generated 1/17/11 10:12 AM

    Minecraft: Minecraft Beta 1.2_01
    OS: Windows 7 (x86) version 6.1
    Java: 1.6.0_23, Sun Microsystems Inc.
    VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: ATI Radeon HD 3200 Graphics version 3.3.10243 Compatibility Profile Context, ATI Technologies Inc.

    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
    at java.lang.String.charAt(Unknown Source)
    at nh.a(SourceFile:152)
    at nh.a(SourceFile:119)
    at pe.a(SourceFile:238)
    at ll.b(SourceFile:369)
    at net.minecraft.client.Minecraft.run(SourceFile:705)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT cc2440ed ----------
    --- merged: Jan 17, 2011 4:15 PM ---
    /setwarp is an unknown command
    --- merged: Jan 17, 2011 4:21 PM ---
    ps love it. it works perfectly with guestbook. now i can have a whitelist/group setings
  14. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Cyan should be AQUA, and AQUA is set at 0xB, or 11. So using 11 should work.
  15. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yeah but i tried 11 and couldnt get it to work
  16. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you paste the groups configuration file so I can look into it?

    Edit: If you look at the configuration page, your group should be formatted with the color code in the second spot.
    https://github.com/jsedlak/Kikkit/wiki/Configuration

    Code:
    admins:12:*
    You then need to edit players.txt (in the config folder) and add them to the group. You do this by supplying their name, a colon and then the name of the group.

    Code:
    kr1sc:admins
  17. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    excactly what i did, didnt work, but of course i will try again just to be sure i didnt make a mistake :). and hey would be awesome if you got more into taht iconomy part og the plugin, and maybe implent a feature like the "Murder" plugin, where i can kill if i feel like someone's bothering me and need to punish in a way. And i say this and mean it taht your plugin is far the best so far on this site, and for the not finnished bukkit :D)D)
    --- merged: Jan 17, 2011 8:46 PM ---
    hey ive found out works when i change the color of the admin group to cyan/11. but when i create a "Spawner" group like i want to. so i write in spawner:11: and then the commands i want here, but i cant get it to work. plese help ! ;)
  18. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks! And I will add the murder command soon. Currently I am building out the economy portion of the plugin.

    Interesting. And I assume you've added the player to the spawner group?

    Edit: I forgot to mention something important. Since there is no inheritance of permissions, the priority of the groups is as the groups are saved in the config file. Make sure that all your groups are put before the one labeled "*". When the chat code gets the group of the player, it could be defaulting to the "*" group. A good way of testing this is by changing the color of the default group and seeing if the player's chat is affected.
  19. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  20. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    okay thanks i will try it now ;), and its great to know that someone looks a bit more into their plugins and the requests, help. and etc. Great :)

    Edit: Worked!!! Your the best :D
  21. Offline

    marlenadia

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    works on build 82
    how do i modity motd?
  22. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    nice thanks for letting me know with the new build i was afraid of updating cause me and my friends are havin such fun :D
  23. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey sup dude its me again :D, i was wondering if u could do so i can disable the /kill command without totally going into the .jar file and look, cause i need it for another command where it uses, /kill <playername>, to kill others, but it just kills me, cause of the command;/, and it would be awesome if u could seperate the fire, lava and tnt permissions, so i could do so my bud could use fire but not lava and tnt, or he could use tnt and lava, but not fire. Kay, Bye ;))))
  24. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey how do i delete warps? :)
  25. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The /murder command takes a player name.
    Code:
    /murder <player name>
    I will add support for deleting warps and changing the MOTD.

    I have also updated the economy portion a bit. Will make a more lengthy post this weekend with a new release. Right now I am integrating the new bukkit builds.

    I am still trying to sort out the Lava/TNT blocking. Blocking them individually shouldn't be an issue and will add that to the list.

    If you are working off the latest code commits I have some other commands (will be available in the next release):
    Code:
    /buy <amount> <item id OR item name>
    /setprice <b OR s> <item id> <price> (shortcut: /sp)
    /getprice <b or s> <item id OR item name> (shortcut: /gp)
    /tph <player name> (shortcut for /tphere)
    
    # Private chat commands - messages only show to those who can run the command.
    # Useful for having private admin/mod chats in game.
    /v <msg>
    /a <msg>
    --- merged: Jan 30, 2011 9:26 PM ---
    Updated!
  26. Offline

    Xhanos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey i'm having problems with this Plugin
    i'm kinda new to all of this bukkit thing

    Problem : Can't get commands to work just says Unknown command everytime i try the commands to this mod

    can you please help me :)?
  27. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Have you added yourself to the admins by editing config/players.txt?
    Code:
    Xhanos:admins
    Has config/groups.txt been setup?
    Code:
    admins:12:*
  28. Offline

    Xhanos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yes the groups.txt file is there but there isn't a players.txt
    can i just create one and call it players and then Kikkit will regonice(?) it as the real one?

    And when the txt is up should i do like this
    "Xhanos:admins:12:*"
    or just
    "xhanos:admins"

    thanks for replying :)
  29. Offline

    Kr1sc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    In the config folder, yes you can place a players.txt before the server is loaded. The format is as I mentioned above. Here is how mine looks:

    Code:
    kr1sc:admins
    lordenix:admins
    instigatorsgator:admins
    recklesssid69:mods
    thanos8587:vip
    blueskyer:vip
  30. Offline

    Xhanos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Many thanks! :D
  31. Offline

    jenso942

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey i just updated bukkit and craftbukkit to the latest, i think its build #237 (craftbukkit), but anyways, i cant get the time(/day, /night) commands to work, sucks cause i dont wanna change plugin with this command cause it will fuck up my all sorted out permissions way, since i cant get Nijikokun's Permissions to work ;/, please fix or if its just me ?

Share This Page