[INACTIVE][MECH] SafePVP v1.7.2

Discussion in 'Inactive/Unsupported Plugins' started by DylanG, Jan 5, 2011.

     
  1. Offline

    DylanG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Download 1.7.2


    Type /pvp on to BE ABLE to be damaged by PLAYERS ONLY. Only players on the pvp list can attack and be damaged by each other.
    Once you type /pvp on, you have to wait 30 seconds until you can /pvp off. :)
    Type /pvp off to not be damaged by players and you won't be abled to damage anyone.
    Type /pvp status to view your status.
    Type /pvp list to view the list of players.
    Type /pvp mon to set onDamage messaging spam ON.
    Type /pvp moff to set onDamage messaging spam OFF.
    Type /pvp help for list of commands.
    ****************************************************
    Type /pvp spar start [opponent] to start a spar!
    Type /pvp spar accept [starter] to accept a spar! Fight to the death!
    ****************************************************
    UPDATE!! Whenever a user logs in, they will be defaulted to pvp off and messaging off! Whenever a user logs out, they will be removed from whatever status they are currently holding.
    Admin only:
    Type /pvpa [player] <on|off|status>
    Leaving <on|off|status> blank will return the status of the player.
    Type /pvpa [player] [mstatus] to show the user's messaging status.
    Type /pvps [fall|creeper|tnt|water] [message] to set death messages. Pretend the person's name who is dying right before [message]. Like this:
    /pvps fall just took a leap of faith.. and missed.
    If you don't set the messages whenever you want to every startup or reload of SafePVP, it will use my funny defaults.
    Type /pvps [dmon|dmoff] for turning death messages on/off.
    Server Admin:
    In the console type "pvp [player] [on|off]". Check changelog for more info.
    In the console type "forfeit" to stop the open spar.
    SafePVP.properties:
    default-toggle-delay=30
    spar-acceptance-time=30
    execute-command-group=default
    command-to-execute-when-spar-is-accepted=spawn
    pvp-off-on-join=true
    message-off-on-join=true
    death-messages=false
    water-message=forgot how to swim...
    creeper-message=just hugged a creeper\!
    tnt-message=just went boom\!
    fall-message=just took a leap of faith\!.. and missed.
    defaulttoggledelay is time in SECONDS that needs to pass before a player can /pvp off after /pvp on'ing.
    command-to-execute-when-spar-is-accepted is the command that both players AUTOMATICALLY execute when the person /pvp spar accept [starter]. Useful for like command-to-execute-when-spar-is-accepted=warp fightarena or spawn.
    execute-command-group= is for if a sparrer can't use command-to-execute, then they get changed to this group (like mods, VIP, ect), executes the command, then reverts to their original group. This has been tested ;p.
    2-12-11 v1.7 released! Should work ^_^. Arrows and command stuff.
    1-3-11 v1.6 released! iConomy!!
    1-2-11 v1.5 released! More keys and SPARRING! (1v1 duels)
    1-1-11 v1.4 released! More keys.
    12-31-10 v1.3 released! Property file!!
    12-31-10 v1.2 released! Server commands!
    12-31-10 v1.1 released! No hit-and-run :D.
    12-30-10 v1.0 released! /pvp help
    12-30-10 v0.9_1 released! Toggleable deathmessages.
    12-29-10 v0.9 released! Custom death messages!
    12-28-10 v0.8 released! Death messages!
    12-28-10 v0.7_1 released! Really small bugfix.
    12-28-10 v0.7 released! No message spamming and default status added.
    12-27-10 v0.6_1 released! Colors, grammar errors are fixed, and /pvp list. Check it out :). Also fixed stacktraces.
    12-26-10 v0.5 released! Everything is working great :)
    12-26-10 v0.4 released! Admin commands! View changelog.
    12-23-10 v0.3 released! Major bug fixes.
    12-22-10 v0.2 released! View changelog.
    12-22-10 v0.1 initial release!
    Code:
    Changelog:
    Fixed command handling
    Preformance
    Bug fixes
    Arrows wont hurt you if /pvp off.
    Reserved commands
    Other stoof
    
    Special thanks to: Techwiz, Veresy, tkelly, and various #hey0 people.
    Click the big banner for download link or:

    Download 1.7.2
    Please report any bugs :).
    DylanG

    [IMG]
    Please donate to me if you feel the need. Thanks!
  2.  
  3. Offline

    DylanG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  4. Offline

    Pawned

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks :).
  5. Offline

    Blacktiger07

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  6. Offline

    icor1031

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey..

    "SafePVP.properties:"

    This file is not included in the download?? --- merged: Jan 15, 2011 7:04 AM ---
    Where is the safepvp.properties file??
  7. Offline

    WMP

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dont work, and i can;t disable pvp in server.properties:

    Code:
    java -Xms256M -Xmx2048M -jar craftbukkit.jar nogui
    2011-01-16 19:45:34 [INFO] Starting minecraft server version Beta 1.2_01
    2011-01-16 19:45:34 [INFO] Loading properties
    2011-01-16 19:45:34 [INFO] Starting Minecraft server on *:25565
    2011-01-16 19:45:34 [INFO] Preparing level "world"
    2011-01-16 19:45:34 [INFO] Preparing start region
    Preparing spawn area: 32%
    Preparing spawn area: 93%
    2011-01-16 19:45:36 [INFO] [Guardian] version [1.2] (Helmet) loaded
    2011-01-16 19:45:36 [INFO] [General] version [1.5] (Yager) loaded
    16-Jan-2011 19:45:37 org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins/SafePVP.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:82)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:115)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:80)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:41)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.NoSuchMethodException: com.random101.safepvp.SafePVP.<init>(org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plugin.PluginDescriptionFile, java.io.File, java.io.File, java.lang.ClassLoader)
            at java.lang.Class.getConstructor0(Class.java:2723)
            at java.lang.Class.getConstructor(Class.java:1674)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:78)
            ... 8 more
    BorderGuard version 1.1 is enabled!
    2011-01-16 19:45:37 [INFO] Done! For help, type "help" or "?"
    138 recipes
  8. Offline

    hello2u

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How about keeping inventory on deatyh, and just losing a configurable amount of money (and/or a bet)?
  9. Offline

    highwisdom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    any plans for updating this to current build (#85 at time of posting)? Currently gives error on loading
  10. Offline

    mongizzle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    same for me
  11. Offline

    SeeD419

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just spews errors in build 115.

    Tis a shame. R.I.P. SafePVP :(
  12. Offline

    Rallerbabz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    22-01-2011 17:42:29 org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\SafePVP.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoad
    ava:83)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginMana
    java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginMan
    .java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:4
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.NoSuchMethodException: com.random101.safepvp.SafePVP.<i
    (org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plugin.Plugin
    riptionFile, java.io.File, java.io.File, java.lang.ClassLoader)
            at java.lang.Class.getConstructor0(Unknown Source)
            at java.lang.Class.getConstructor(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoad
    ava:79)
            ... 8 more
  13. Offline

    shatteredbeam

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I sure hope this plugin comes back.
  14. Offline

    Fess-russ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    lot or errors too
  15. Offline

    Jeppo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Arrows still hurt players [IMG] [IMG]
  16. Offline

    DylanG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    *Sigh* When I find time, I'll update it. Sorry. Sometime hopefully soon.
  17. Offline

    LRFLEW

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I spent all that time porting http://forums.bukkit.org/threads/1137/ and it had already been done :p
    --- merged: Jan 26, 2011 2:43 AM ---
    But mine works with the current version...
    Not as full, but still the same concept
  18. Offline

    Nate204

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Had to remove because of this =(
  19. Offline

    Racha

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This still works? If no - please update :(
  20. Offline

    LRFLEW

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, but PvP Control does (blatant self-advertising :p)

    I'm currently in-communications about combining our plugins (thus getting this one fixed :) )
  21. Offline

    Racha

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, this has iConomy support and I need it :D
  22. Offline

    DylanG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    LRFLEW and I have been fixing this recently.

    Source code

    There's the source. You can pull/push/fork, whatever.

    Arrow support has been added! Should be released soon!
    --- merged: Feb 13, 2011 3:02 AM ---
    Download v1.7
    Code:
    Changelog:
    Fixed command handling
    Preformance
    Bug fixes
    Arrows wont hurt you if /pvp off.
    Reserved commands
    Other stoof
    
  23. Offline

    crohakon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this plug-in work with the latest bukkit build?
  24. Offline

    DylanG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It should, yes.
  25. Offline

    Tasoli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    1.6 does not work for me, i am getting "could not load plugins\safepvp.jar in plugins: null"

    1.7, aside from being 10mb instead of 1.6's 10kb (how did it grow 1,000 times larger than any plugin i've ever seen?) gives some strange error as well, though i don't remember it and i have since uninstalled both plugins. the error was something about \t or something, which leads me to believe maybe you used a tab? (tab key in code is bad from what i understand, don't ask me I'm not a coder)
  26. Offline

    DylanG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The large size is due to an accidental build error and me using github now (I think). Can you try to get the error please? \t doesn't help D:
  27. Offline

    Tasoli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    \t is an error caused by using tab within a text editor from what i understand, i'm not sure if the error was on your part or on my part (configuration of another plugin?)

    i will run it again tonight and see if i can grab the error for you.
  28. Offline

    DylanG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wonderful, thanks.
  29. Offline

    awem

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    2011-02-15 05:08:41 org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: while scanning for the next token;
    found character      '\t' that cannot start any token (Is it up to date?)
    while scanning for the next token found character         '\t' that cannot start any token
     in "<reader>", line 6, column 1:
            pvp:
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
            at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:29)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:61)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    'ere you go!
  30. Offline

    Daveyo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what kind of iconomy support are we talking about here?
  31. Offline

    SpyDaniel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I get this and no safepvp.properties is made either:

    Code:
    SEVERE: while scanning for the next token; found character      '\t' that cannot
     start any token (Is it up to date?)
    while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 6, column 1:
            pvp:
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:592)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
            at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.
    java:29)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:61)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-15 10:13:44 [INFO] Done! For help, type "help" or "?"
  32. Offline

    Tasoli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    1. Feb 15, 2011 2:31:57 AM org.bukkit.craftbukkit.CraftServer loadPlugins
    2. SEVERE: while scanning for the next token; found character '\t' that cannot
    3. start any token (Is it up to date?)
    4. while scanning for the next token
    5. found character '\t' that cannot start any token
    6. in "<reader>", line 6, column 1:
    7. pvp:
    8. ^
    9. at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    10. va:360)
    11. at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    12. 3)
    13. at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    14. arserImpl.java:592)
    15. at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    16. at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    17. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    18. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    19. :230)
    20. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    21. at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    22. 2)
    23. at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    24. at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    25. tructor.java:124)
    26. at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    27. at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
    28. at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.
    29. java:29)
    30. at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    31. ava:61)
    32. at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    33. java:117)
    34. at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    35. .java:82)
    36. at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
    37. at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
    38. at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
    39. at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
    40. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
    41. at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    42. 2011-02-15 02:31:57 [INFO] Done! For help, type "help" or "?"

Share This Page