Delete Player.dat file with a command

Discussion in 'Archived: Plugin Requests' started by Phishy, Nov 18, 2014.

Thread Status:
Not open for further replies.
  1. Offline


    Plugin category: I'm not sure

    Suggested name: PlayerWipe

    What I want: I'd like a plugin that with a certain command, let's say /accountwipe (playername), Basically a plugin that wipes everything off their account, Items, ranks ect. they have to start fresh, hopefully someone can do this for me, thanks.

    Ideas for commands: /accountwipe (playername)

    Ideas for permissions: player.accountwipe

    When I'd like it by: As soon as possible
  2. Offline


    Why not just delete their playerdata?
  3. Offline

    timtower Moderator Moderator

    Phishy You are asking us to hook into an unknown number of plugins here.
    Economy, permissions, stats, chests maybe.
    Please list all plugins that you want to reset data from.
  4. Offline

    mrCookieSlime Retired Staff

    What about using a plugin like mycommand for example?
    You can define a command which executes
    /effect clear
    /xp set 0L
  5. Offline


  6. Offline


  7. Offline


    Or you can over-write it in essentials config....
  8. Offline


    Still, /whisper is a commonly used command and a plugin shouldn't force you to remove the command.
  9. Offline


    Could just be me, but I get a error when trying to run the command
    "An Internal Error Occurred When Trying To Preform This Command"
  10. Offline

    timtower Moderator Moderator

  11. Offline


    timtower 27.11 13:11:49 [Server] INFO at org.bukkit.command.PluginCommand.execute( ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    27.11 13:11:49 [Server] INFO at info.trentech.PlayerWipe.PlayerWipe.onCommand( ~[?:?]
  12. Offline

    timtower Moderator Moderator

  13. Offline


  14. Offline

    timtower Moderator Moderator

    TrenTech You plugin is indeed throwing errors. I don't see why you need a class to get the UUID, as it is build in...
  15. Offline


    Where? How? It's alluded me for quite some time now.
  16. Offline

    timtower Moderator Moderator

    Or something very similar at least.

    <Edit by mrCookieSlime: Fixed it. That is the method you are looking for :p>
  17. Offline


  18. Offline


    I'm aware of that but that's not what I'm doing. I'm determining the UUID by player name. MonroeTT >> UUID. Avoiding deprecated methods this seemed to be the best way to identify offline players. Show me a better way, I'd be more than happy to listen. I don't like this way either.
  19. Offline

    timtower Moderator Moderator

    TrenTech It was depreciated to get attention to the uuid change as far as I know.
    Uuid.toString, uuid.fromString
    Both very useful.
Thread Status:
Not open for further replies.

Share This Page