1. These plugins are out of date or are no longer supported by their developers. If you wish to update a plugin, you must create a new topic (in the event that you aren't the original developer) in the submissions forum. If you wrote it, you can PM an admin or report the post to move it back, as long as you include updated information with the request/report.
    Dismiss Notice

PvPToggle

Discussion in 'Unsupported / Outdated Plugins' started by Wight, Apr 19, 2013.

  1. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    PvPToggle allows players (probably admins) to toggle other player's PvP status.

    Version 1.?
    Commands:
    • /tpvp [player name]
    • /pvp
    • /fpvp [player name or * or all]
    • /pvp -toggles pvp on self (by request)
    • /tpvp [player name] -will toggle the player's PvP (on -> off, off -> on)
    • /fpvp [player name] -will toggle the player's PvP and not allow them to turn it off until you use the command on them again.
    • /fpvp * (or all) -will toggle EVERYONE's PvP and not allow them to turn it off until you use /fpvp *off (or alloff).
    • /fpvp *off (or alloff) -will remove the force toggle. It will not turn their PvP off, but will let them turn it off manually.
    • /bloodmoonpvp, /bmpvp -enables Bloodmoon PvP mode.
    • /team [team color] -switches you to a different team
    • /tteam [player name] [team color] -switches a player to a different team
    Bloodmoon PvP mode:Is enabled when /bloodmoonpvp is used. It activates when the server goes into bloodmoon.
    It will turn everyone's PvP to on, and force it there, until the bloodmoon is deactivated.
    This can now be enabled in the config and does not require use of the command every time the server starts.


    Permissions:
    • pvp.switch - /tpvp
    • none -/pvp -This command acts as a replacement for manually clicking the swords to enable PvP... Done on request
    • pvp.force -/fpvp
    • pvp.moon -/bmpvp
    • pvp.team - /tteam
    TODO:
    • Force teams
    • Team switching permission
    • Update permissions to node format
    Source

    DLL
     
    • Like Like x 2
  2. Loganizer

    Plugin Developer

    Joined:
    Dec 2, 2012
    Messages:
    212
    Yessss. I always wanted this. Suggestion: when a player enters a region, it toggles pvp. Also a like /pvp all to turn pvp on for all players. Nice plugin.
     
  3. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    Region PvP can be done with region flags. I can work on /pvp */all for enabling all players :)
     
  4. Olink

    Olink Nyx Developer, Occasional TShock Developer
    Banned

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    This just toggles it, the player can immediately turn it off again...
     
    • Like Like x 1
  5. DankBud

    DankBud Level 8

    Joined:
    Jul 23, 2011
    Messages:
    228
    You could set the plugin to watch the pvp enabled players and if they turn it off, the plugin will turn it on again. Then the plugin could whisper "pvp is on, don't turn it off." lol
     
    • Like Like x 1
  6. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    So you'd rather it forced PvP on until you execute the command on the player again?
    I'll work on it :p
     
  7. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    TogglePvP updated...
    I forgot to put [Submission] on this when I first posted D:
     
  8. Wolfe

    Wolfe Level 9

    Joined:
    Jan 3, 2012
    Messages:
    386
    /fpvp all/* works, but when executing it again it just turns it on again rather than turning it off from the first time.
     
  9. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    Interesting, worked for me when I tested with 2 people (both myself :confused:)
    I'll have a look.
    Just got back from a short holiday

    EDIT: I dun goofed.
    Fixed original post
     
    • Like Like x 1
  10. Defender2015

    Defender2015 Level 1

    Joined:
    May 21, 2013
    Messages:
    12
    Lol this will be fun to mess with when my friend gets on my server to test my plugins ;)
     
  11. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    any way to toggle this automatically on blood moon? just a thought
     
  12. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    Do you want it added to the full version, or a private version?

    And I'm assuming you want it forced until bloodmoon turns off?
     
  13. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    Added Bloodmoon PvP Mode.
    Updated links + OP
     
  14. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    nice work. thanks for the update
     
  15. Olink

    Olink Nyx Developer, Occasional TShock Developer
    Banned

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    no config option? :thumbsdown:
     
  16. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    I was busy :(
    If you so desire, I shall make a config option
     
  17. Snirk Immington

    Snirk Immington Level 9

    Joined:
    Jan 12, 2012
    Messages:
    378
    Config option also means it stays that way after restarts :)

    Also, what about /setpvp [true/false] [player] as a command?
     
  18. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    For..?
    A renaming, or a new command?
     
  19. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,597
    Changed a few things...
    Toggling someone else' PvP now uses the command /tpvp [player]
    Using /pvp now toggles your own PvP, and is a replacement for manually enabling your PvP Terraria style, via request from Pandatle

    Will add that config file for Bloodmoon tonight and upload tomorrow (hopefully)
     
    • Like Like x 2
  20. Defender2015

    Defender2015 Level 1

    Joined:
    May 21, 2013
    Messages:
    12
    Useful update Ryst.Good job