[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

    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. Offline

    jenso942

    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 ;).
     
  3. Offline

    Kr1sc

    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.
     
  4. Offline

    GEN3RIC

    Nice, been looking for something like this. I see you get around btw.
     
  5. Offline

    Kr1sc

    WOAH.

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

    jenso942

    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
     
  7. Offline

    Kr1sc

  8. Offline

    GEN3RIC

    Haha. We're both gamers and programmers. We shall all converge on Bukkit.
     
  9. Offline

    jenso942

    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 ;)
     
  10. Offline

    s0nge

    Everytime i type the command /warplist my game crashes. anyone else having this issue? Using build 66
     
  11. Offline

    Kr1sc

    I will look into this.
    Have you added a warp yet using setwarp?
     
  12. Offline

    marlenadia

    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
     
  13. Offline

    Kr1sc

    Cyan should be AQUA, and AQUA is set at 0xB, or 11. So using 11 should work.
     
  14. Offline

    jenso942

    yeah but i tried 11 and couldnt get it to work
     
  15. Offline

    Kr1sc

    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
     
  16. Offline

    jenso942

    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 ! ;)
     
  17. Offline

    Kr1sc

    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.

    Kikkit 2.3.3.0

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

    jenso942

    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
     
  19. Offline

    marlenadia

    works on build 82
    how do i modity motd?
     
  20. Offline

    jenso942

    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
     
  21. Offline

    jenso942

    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 ;))))

    hey how do i delete warps? :)

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

    Kr1sc

    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!
     
  23. Offline

    Xhanos

    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 :)?
     
  24. Offline

    Kr1sc

    Have you added yourself to the admins by editing config/players.txt?
    Code:
    Xhanos:admins
    Has config/groups.txt been setup?
    Code:
    admins:12:*
     
  25. Offline

    Xhanos

    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 :)
     
  26. Offline

    Kr1sc

    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
     
  27. Offline

    Xhanos

    Many thanks! :D
     
  28. Offline

    jenso942

    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 ?
     
  29. Offline

    DJKdunc

    Hey guys im new around here i just made this profile im a noob so done hate ;) but not no nood at game :cool:
    so i just got this and i was wondering if you could make a command /help which would show all the commands in this also i have a problem with the unknown command casue i have a few plugins and everytime i type a cmd that msg pops will pop (and it is a cmd ) please help thnx
    Plugins:
    kikkit
    Permissions
    Levelcraft
    Istick (planed to get )

    edit*
    also no one can join our server it says "(player) has been kicked from server for not being on whitelist" how do i turn off whitelist pleas help thnx sooo much guys i know im a noob at this plugin stuff
    DJKdunc
     
  30. Offline

    Kr1sc



    The latest release will not work with the newer bukkit builds. I will be sure to get it working this weekend. Until then, the only solution I can offer is to rollback to a previous version of bukkit/craftbukkit.
    --- merged: Feb 3, 2011 11:03 PM ---
    It could be Kikkit causing the Unknown command. I noticed I was pumping out that message recently and removed the line. If it isn't in your build, it will be in the next one.

    As for turning off the whitelist - simply remove the line that configures it in config/kikkit.config.

    I believe the newer builds of bukkit/craftbukkit support the /help command. Once I update to those I will check and if not, will try to add one for kikkit.
     

Share This Page