Resolved New PvP system? IMPORTANT!

Discussion in 'Suggestions' started by Ryccs, Nov 3, 2013.

  1. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    Hello terrarians, I would like to ask somebody to make a new plugin for Tshocked terraria servers, I really need this plugin to run my server. The plugin would make the server drop 3-4-5 RANDOM items from the inventory or your armors you have. I didn't find the mediumcore mode ok, because I think lose your whole inventory on die makes the game too hard, and you cant do nothing in hardmode if you lose your inventory once. So I found this plugin important, but I have no idea how to make it. If anyone to be good at making plugins, I can even pay for it, because this thing is really-really important for me now. Sorry for my english, I'm working on it :(. Thanks for your help, and this is my last post about this topic. I check this post as soon as I can about answers!!
     
  2. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Would'nt be too hard to make, altough i've never used serverside characters before but i can give it a try
     
  3. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    And could it work on servers too? That would be A W E S O M E! As i told before, I can pay for it too if it works fine! Its great !:))
     
  4. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Well, all you need is tshock with the ServerSideCharacters config option set to true, and my plugin in your plugins folder, but currently im experiencing a problem tho, currently im checking when the player dies and then drop his item, but since i can't drop items while a player is dead i need to figure something else...

    Edit: a question for you, when the player dies, do you want the items to be completely gone, or do you want them to appear on the ground? if you can't decide i'll just make a config option for that.
     
  5. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    I would like it to appear on the ground! Thats important too. Thank you man, you are awesome!:D And how many items will the system drop on die? Can you make that randomly drop 1-6 items? Thats not that important, just would be great.! And will it work every tShock? I mean, the Terraria is evolving really fast nowadays, and tShock is evolving parallely like the terraria.. Wow this english..:D Sorry about it, but i mean i have to refresh tShock like every week because of the new patches.

    Ohh, and an other question: Players on the server should be softcore of mediumcore on the server with this plugin?
     
  6. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    mmh now that im thinking it might be hard to get the items dropped on the ground

    About your question: this is what my config file currently looks like
    Code:
    {
      "MinDropAmount": 3,
      "MaxDropAmount": 5,
      "DropArmor": false,
      "DropDye": false,
      "DropInventory": true
    }
     
  7. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    You are my man!!!!!! Min drop amount should be 1, max 6, and what does drop armor means? Is that give a chance to drop your armor too? Or drop your whole armor immediately?Because that would be great if there is some chance to drop an item of your armor too!


    Can't wait for your answer, you are a bless for me!
     
  8. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Sorry for the long wait was a bit struggling with this plugin, but its almost done now, DropArmor means that also a specified amount of armor/accesoiry pieces will be dropped, i removed one option from the config and added an extra two:

    Code:
    {
      "DropInventory": true
      "MinDropAmount": 3,
      "MaxDropAmount": 6,
      "DropArmor": false,
      "MinArmorDrop": 1,
      "MaxArmorDrop": 2,
    }
     
  9. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    Surely will be dropped, or just have some chance? And can you make it to drop between 1 and 6? Thank you so-so much, I could sign you on facebook to pay if you need it, and if its works fine.
     
  10. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Well i don't really need payment, but if you would pay me i would use that money to donate to TShock, as they're the ones that made all this possible :)

    Oh and btw the item drop amount is totally up to you, you can change settings in the config file.
     
  11. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    Great, how can I test the plugin? I think there isn't tShock released for the 1.2.1.2 patch, is there?
     
  12. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    This plugin works on all post 1.2 versions, so that wouldn't be too big of a deal, and as far as i can tell you this plugin is almost done :)
     
  13. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    Thank you so-so much *-* You're me favourite superhero from now :D! And what if 1.3 comes out?o:
     
  14. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    As long as the TShock API doesn't change (current version is 1.14) there is no problem, otherwise i'll have to update my plugin :p
     
  15. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    Greeeeeeat!! Thank you for all the help, you made my year :DD Let me know if the plugin is ready! Or do you have facebook? I could add you!:)
     
  16. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Almost done now, doing a few last tests to make sure everything works fine :)
     
  17. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    Cant waaaaaaaaait :D <3
     
  18. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Okay just added a command to reload the config file, hold on a few more minutes :p
     
  19. Ryccs

    Ryccs Level 1

    Joined:
    Nov 3, 2013
    Messages:
    14
    I'm exploding :D :D :D :D :D
     
  20. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Added a list of items that should not be dropped, in that i included the starter kit + coins (as they're dropped by default)