[INACTIVE][MECH] StarterKit v0.4a - Give all Players that join some defined items. [953]

Discussion in 'Inactive/Unsupported Plugins' started by Thomas Bucher, May 17, 2011.

  1. Offline

    Thomas Bucher

    StarterKit - Give all new Player (not seen before by the Plugin) some Starter Items

    Version: v0.4a

    You can Configure what kind of Items a never before seen player get if it Joins you server. There is also a get Items after Respawn mode.

    Features:
    • Give a starterkit to a Player
    • No command needed,it just gets it on Join
    • Config for delay to give the Kit
    • Commands ingame for OPs
    • Respawn Mode Added
    • MultiInventory support on Multiworlds
    Download The Plugin 0.4a
    Download The Plugin 0.4
    Download The Plugin 0.3
    Download The Plugin 0.2a
    Download The Plugin 0.2
    Download The Plugin 0.1c
    Download The Plugin 0.1b
    Download The Plugin 0.1
    Source Code is in the Jar

    Config the Items:
    Code:
    message: You got some Goodies, to start on this Server
    debug: false
    starterkit:
     - <itemid>,<quanitity>
     - <itemid2>,<quanitity2>
    delay: 10000
    onrespawn:false
    usemultiinv: false
    worlds:
    - normal
    - nether
    
    It has some Defaults built in.

    To start over, delete the playerlist.data file from the plugin/StarterKit directory.

    Ingame Commands: (OP only) -> Not for Respawn Mode
    • /starterkit import <importdir>
      Example: /starterkit import world/players
      Imports all players onto the List from the given Dir
    • /starterkit add <playername>
      Example /starterkit add ToasterKTN
      Adds that Playername to the List (Case Sensitive)
    • /starterkit del <playername>
      Example /starterkit del ToasterKTN
      Removes that player from the List
    • /starterkit search <searchstring>
      Example /starterkit search aster
      Lists all Player on the List with aster in the name
    • /starterkit list
      Lists all Player that are on the List
    • /starterkit clear
      Clear the whole list. No more players will be on the List.
    Todos / Ideas:
    • Check Inventory if it is empty before give items.
    • Add Colors to the Message
    • Add Datavalues to the Itemlists
    • Multiline Messages
    Changelog:
    Version 0.4a
    • Import assumes player has been on all Worlds listen in worlds, if
      Multiinv has been enabled.
    Version 0.4
    • Added MultiInv/MultiVerse support.
      Enable usemultiinv
      set the Worlds you wanna get the Kits in worlds:
    • Note: With multiinv support, players in the List are world|playername
      see /starterkit list
      for examples.
    Version 0.3
    • Added a Respawn mode ( onrespawn: true ) in the config file.
    Version 0.2a
    • Added Dup Check on the List itself, to make sure no player gets on the List twice.
    Version 0.2
    • Added ingame Commands for OPs
    Version 0.1c
    • Added Configvariable delay <- delay before give the kit in miliseconds.
    Version 0.1b
    • Add the Items after a 10 Second Delay..
    Version 0.1
    • First Release
    [​IMG]
     
    Taranis01 likes this.
  2. Offline

    POC0bob

    This is amazing, thanks! :D
     
  3. Offline

    40540057

    I have been waiting for this for a while! THANKS! Can you give this multiverse / multiinv support? PLEASE! I would like to be able to configure it so that the first time they enter each world they get a different kit in that world's inventory.
     
  4. Offline

    Thewind100

    Hey this is great downloading now.
     
  5. Offline

    Dubstein

    Is it for just new players? Or is it when anyone joins?

    If its just for completely new players, could you add it so when anyone logs in, they instanly get a kit? Would be very helpfull :)
     
  6. Nice, but it's got a few glitches.

    This is my config:
    It seems that the plugin rewrites the config with starterkit items inline, I made them using newline... anyway.

    I get the 4 wooden items but I don't get 3 torches, instead I get a compass, a chest and a raw porkchop.

    Another problem is with offline mode register plugins, like AuthMe, that restores inventory after login... you get the items before you login, but after that it reverts back to the inventory you had before, wich is an empty one.
     
  7. Offline

    Thermoman

    Hey, this is just what i was looking for, but sadly i can't get it to work right. Even when I enter in the Starter.yml file exactly what i want to give players it still only gives them all the wood tools, compas, chest, and raw porkchop. Can you please fix this unless its something i did wrong.
    Code:
    message: You got some Goodies, to start on this Server
    debug: false
    starterkit: -266,20
    
     
  8. Offline

    Sparky20

    Nice plugin.

    I have 2 Suggestions.

    1. Could you please make a command for clearing the player list?
    2. Could you please make a version that gives the kit whenever you re-spawn?
     
  9. Offline

    Thomas Bucher

    There needs to be a space between - and <itemid>

    Code:
    message: You got some Goodies, to start on this Server
    debug: false
    starterkit:
    - 1,10
    - 2,10
    - 3,10
    
    this works for me

    This is just for unseen players. Means, if you install the plugin, it handles all player joins like new players.
    It remembers the seen players then, and they will not get a kit again after another login.

    Sincerly Thomas

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  10. Offline

    houska94

    problem is with offline mode register plugins, like AuthMe, that restores inventory after login... you get the items before you login, but after that it reverts back to the inventory you had before, wich is an empty one.

    PLS fix this
     
  11. Offline

    ichingpow

    This is useless to me because I can't control what items are given. Bummer, looked great but he had to hard code the items D:
     
  12. Offline

    olimoli123

    Keep it up!, Honestly im installing this right now!
     
  13. Offline

    Thomas Bucher

    Can you try this Version? This should run last on the Login Event, so i would give Items at the very end. Maybe this Works.

    Need some Feedback.
    Thank you

    yml for the win.
    See Post #9
    Make a space between - and the itemid

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  14. Offline

    houska94

    Still no work same problem. Try add 10 sec delay
     
    Thomas Bucher likes this.
  15. Offline

    belfedia

    Another very good idea :) great !
     
  16. Offline

    Thomas Bucher

    Added the 10 Second Delay.
    Works for me.
    I hope it works with you Plugins too now.

    Sincerely Thomas
     
  17. Offline

    houska94

    Good thanks can u make editable delay ?
     
  18. Offline

    iffa

    I love this plugin (just as much as I love you)

    EDIT: Why not add a check for /register (if command used&worked -> give gift)
     
  19. Offline

    Thomas Bucher

    I dont know that other plugin.. So i have no clue what it does ;-) I thought it just clears you inv on login.
    Probably you should nag others to not clean you backpack :)

    Sincerey Thomas
     
  20. Offline

    Morphy

    could you make it so that when ever a player dies, they get a starter kit when they respawn?
     
  21. Offline

    iffa

    Hmm, it gives the items everytime you join. Fix?
     
  22. Offline

    Thomas Bucher

    Holy, it should not..
    Lemme check that ;-)

    It works absolute correctly for me.
    is there a Exception in the Log?
    Does the File StarterKit/playerlist.data exist ?

    Plz lemme know.
    Greeting Thomas

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  23. Offline

    iffa

    It doesn't do that on my local server, but it did do that on the server itself...
     
  24. is there any chance you can make it so when a player gets promoted into a new permissions group they get a kit
     
  25. Can you read world/players/ files instead of storing players in an uneditable file ?
     
  26. Offline

    Shooty

    Can you add permissions support ? For exemple if a group had a specially node, the group in question don't receive the kit ?
     
  27. Offline

    frownnn

    works great thanks
     
    Thomas Bucher likes this.
  28. Offline

    lloyd menzies

    Exactly what i HAVE been looking for since i opened my server! Very nicely done, very simple i love it! Great job!!

    Thanks
     
  29. Offline

    Thomas Bucher

    This plugin is just ment for new players that join the server the first time. I use it on my server for having new players to check out the geocaching plugin.
    For new Players, there is no permission.

    I could, but this would make it more "complicate" and more "unreliable".
    The world name is not "world" on any server, what if there are multiple worlds?
    and so on.
    I add instead the following to my TODO List:
    - Command to remove a player
    - Command to List players on the List

    So i am afraid, but i will not add permission support to this. At least not in the near future.
    But i will make i more handier to handle who is on the List and who is not.

    Sincerely Thomas
     
  30. Reading through the world's players storage would actually be more reliable because the plugin surely knows what players have already played and what players are new. That way admins don't need to manually add each player to the list... some servers have hundreds, and it really is bad to receive some useless items if you're a regular.
    Also I didn't say you should hardcode the path, I belive you can get the world's folder name (in worst case, open server.propeties).
    And for multiworlds... well, I don't think other worlds that the server doesn't start with store any player info.
     

Share This Page