[Suggestion] TP in pvp regions

Discussion in 'Suggestions' started by BrokeMel, Feb 3, 2016.

  1. BrokeMel

    BrokeMel broke
    Resident ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jul 26, 2013
    Messages:
    991
    Trophy Points:
    65,160
    Gender:
    Female
    Ratings:
    +825
    Minecraft Name: priMELval

    Suggestion: Block tp commands in pvp regions so you can't get tp'd into a pvp region. Or at the very least have a warning that the region is tp.

    Reason: Random builder joins and stands in a pvp arena and says "Help I need someone to tp soandso to me". Someone tps to them and gets killed.

    Any Other Information: This is becoming a real problem...

    Link To This Plugin/Is this a custom addition?: did a quick google and found http://dev.bukkit.org/bukkit-plugins/worldguard-custom-flags/ but idk if that's useful.
     
  2. UnitedStates2

    UnitedStates2 Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Gameplay Architect Premium Upgrade

    Joined:
    Nov 30, 2014
    Messages:
    5,852
    Trophy Points:
    82,660
    Ratings:
    +6,293
    Why block it? It may come in use sometimes.

    Instead, perhaps have @JamieSinn code something that gives you a warning upon receiving a TP request in a PvP region. That would work much better and inform users that they might be killed.
     
    #2 UnitedStates2, Feb 3, 2016
    Last edited: Feb 3, 2016
  3. BrokeMel

    BrokeMel broke
    Resident ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jul 26, 2013
    Messages:
    991
    Trophy Points:
    65,160
    Gender:
    Female
    Ratings:
    +825
    But how hard would that be to code?
     
  4. greenobeano

    greenobeano Builder
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️

    Joined:
    Apr 6, 2013
    Messages:
    365
    Trophy Points:
    33,860
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +383
    +1
    Yus plz.
     
  5. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,447
    Trophy Points:
    82,090
    Gender:
    Male
    Ratings:
    +4,567
    It would interfere quite a lot with essentials' tp mechanism, sadly, not realistic.

    The plugin, quite possibly an idea.
     
    • Like Like x 1
    • Winner Winner x 1
    • List
  6. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,563
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +774
    +1 definitely. sorry to hear that a warning would not be realistic
     
  7. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,126
    Trophy Points:
    49,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +449
    Why not have it set to where if player X does /tpa player Y a message is sent to player Y that player X is in a pvp zone? It would be totally separate from essentials and probably decently easy to make. I'm no expert but it seems like it would work.
     
  8. UnitedStates2

    UnitedStates2 Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Gameplay Architect Premium Upgrade

    Joined:
    Nov 30, 2014
    Messages:
    5,852
    Trophy Points:
    82,660
    Ratings:
    +6,293
    That's what I suggested.... And it isn't, as /tpa is part of essentials.
     
  9. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,126
    Trophy Points:
    49,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +449
    Sorry, I should have explained what I was trying to say better. I mean have a plugin thing totally separate from essentials. When someone uses the tp command, it tests to see if that player is in a pvp zone. The essentials tp command itself is not effected by the new plugin thing.
     
  10. Nicit6

    Nicit6 N6
    Mayor ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ II ⭐ Gameplay Architect Premium Upgrade

    Joined:
    Jul 13, 2013
    Messages:
    9,816
    Trophy Points:
    106,160
    Ratings:
    +8,040
    Assuming you mean rewriting teleport entirely, it's not really feasible and would still need to hook into essentials for use with /back.
     
  11. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,126
    Trophy Points:
    49,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +449
    I'm having trouble explaining what I mean...
    We would still have the exact same system. We would add something that did something along the lines of
    If chat message sent
    If /tpa command used
    If player in pvp zone
    Send player warning

    Essentials tpa would not be effected at all.
     
    #11 miner1975, Feb 4, 2016
    Last edited: Feb 4, 2016
  12. UnitedStates2

    UnitedStates2 Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Gameplay Architect Premium Upgrade

    Joined:
    Nov 30, 2014
    Messages:
    5,852
    Trophy Points:
    82,660
    Ratings:
    +6,293
    How would they know who the TP is going to, without messing with essentials TP?
     
  13. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,126
    Trophy Points:
    49,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +449
    •Player X: "/tpahere miner1975"
    •is player X in pvp zone?
    •yes, message "miner1975" Warning!
    So before the command is processed the new plugin thing will check to see if the user is in a pvp zone. For example,

    This would be similar to having a plugin that told you what town you were in when you spoke, or even copy what you said. Miner1975 says "hello guys" and the plugin could copy "hello" or "guys" or "hello guys". The plugin could also put a / before "hello" or "guys".

    I know I am terrible at explaining this, but think of a chat filter macro. If you type .help into chat it runs a command. Or you could write a macro that when I say "talk to miner1975" it would recognize "talk to" and "miner1975" so it would /pm "miner1975".

    You could do the same thing with what I said above in the 1st paragraph. The new plugin would recognize "tpahere" sent to player "miner1975" from player "X". The plugin would check if player X is in a pvp world. If so, it would send "miner1975" a warning. Keep in mind the receiver of the tp would still be able to accept and tpa and all, they would just get a message before the tpa (that has NOTHING to do with essentials).

    Edit: after going back and reading this it sounds like im crazy, sorry lol. Just know that what I said in the second and third paragraph is an example and NOT what I am suggesting the new plugin would do.
     
    #13 miner1975, Feb 4, 2016
    Last edited: Feb 4, 2016
  14. UnitedStates2

    UnitedStates2 Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Gameplay Architect Premium Upgrade

    Joined:
    Nov 30, 2014
    Messages:
    5,852
    Trophy Points:
    82,660
    Ratings:
    +6,293
    I'd assume something like this would be hard to code.
     
  15. Nate1450

    Nate1450 Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    May 9, 2013
    Messages:
    936
    Trophy Points:
    38,410
    Gender:
    Male
    Ratings:
    +475
  16. Nicit6

    Nicit6 N6
    Mayor ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ II ⭐ Gameplay Architect Premium Upgrade

    Joined:
    Jul 13, 2013
    Messages:
    9,816
    Trophy Points:
    106,160
    Ratings:
    +8,040
    It would still need to interact with essentials and worldguard to find when those things happen.
     
    • Informative Informative x 1
    • List
  17. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,007
    Trophy Points:
    84,160
    Ratings:
    +6,910
    Which the custom plugin already does! It's pretty easy to hook into both, but to rip the tp commands out of essentials and put them in their own plugin does require some work.
     
  18. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,126
    Trophy Points:
    49,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +449
    That's why I proposed my idea.