[FUN/ADMN] Griefer kill [860-928] creatively annoy your greifers

Discussion in 'WIP and Development Status' started by matter123, Jun 18, 2011.

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

    matter123

    Greiferkill - creatively annoy your greifers:

    Version: v0.6

    is banning too boring? then try Griefer kill this plugin allows you to annoy your griefers
    while keeping them from damaging your server from further griefing

    Commands:
    • addgriefer: add a greifer to the greifer list (permission node grieferkill.add)
    • removegriefer: remove a greifer from the list (permission node grieferkill.remove)
    • grieferlist:list all griefers (permission node grieferkill.list)
    Features:

    • Greifers cannot build/place/pickup items
    • every 30 seconds to 5 minutes all greifers will be killed in a variety of ways
    • Permission support
    Download The Plugin

    Source Code is available upon request

    Changelog:

    Version 0.6
    • fixed all bugs
    • updated to 928

      Version 0.5
      • fixed bug where i forgot to register my listeners
      Version 0.4
      • added persistence
      • fixed problem where all players are added
      • fixed problem where no players can be removed
     
  2. Offline

    jeffadkins51

    Eh. Don't seem to bad.
     
  3. Offline

    matter123

    so do you like it?
     
  4. Offline

    jeffadkins51

    Yeah i like the idea
     
  5. Offline

    dark_hunter

    Add permission nodes.
     
  6. Offline

    srsdude

    Yay!!! Thanks a lot! I'll be trying this ASAP!

    org.bukkit.command.CommandException: Unhandled exception executing command 'addgreifer' in plugin greiferkill v1.0.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at com.matter123.grief.kill.onCommand(kill.java:55)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more



    @matter123

    Error while trying to add an OFFLINE player to the grieferlist

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  7. Offline

    jeffadkins51

    Most plugins such as this do not support offline players. Try an ONLINE player.
     
  8. Offline

    srsdude

    Hey, another update
    I tried this on myself while being an OP, and this is what happened:

    After waiting about 3 minutes (which is good), I was struck with about a thousand bolts all at once, and it continued to strike the spot I was in without killing me or stopping. 2011-06-19_01.08.22.png
    2011-06-19_01.09.15.png

    Shortly after that, the server stopped responding and I had to terminate the process. I was able to fly about and look at the giant mushroom cloud the strikes formed, but I can't upload them here because the filesize is too large.

    Also, when I mark myself as a griefer, the /removegreifer command does not do anything, I still can't build or pick anything up until I reload/restart the server

    But, when I logged in 2 people and tried it on someone else, it worked, dropping the person from the sky and killing him. Shortly after the other player spawned, the lightning hit him without killing him also, so it just looks like the lightning strike method is bugged.

    I have one more request, could you make a confirmation message for those commands?
     
  9. Offline

    matter123

    @srsdude ill cap the bolts at 20 and kill the player if there still alive
    also what do you mean by confirmation message?
    @dark_hunter since this is still a work in progress permission node will come later
    i will also fix the problem of when trying to add or remove a offline griefer

    updated notifing
    @srsdude @Benjaneer

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
    dark_hunter likes this.
  10. Offline

    srsdude

    by confirmation message I mean that the plugin should print out something like "Griefer [player] Added!"
    or Griefer [Player] Removed after typing in the commands, it really helps to check if everything is working right.
     
  11. Offline

    matter123

    @srsdude that has been added in 0.2
    please tell me of anybugs
     
  12. Offline

    srsdude

    Alright, I'll try it out when I get the chance :)
     
  13. Offline

    matter123

  14. Offline

    srsdude

    @matter123

    Bugs:
    • There is no confirmation message when adding someone as a griefer
    • The confirmation message for removing griefers is missing a space
    • After removing the player from the grieferlist, that player is still unable to build.
    • After I mark someone as a griefer, I am marked as a griefer too and I can't build.
    • After I do that ^ and remove that person (and myself) from the grieferlist and reload plugins WITHOUT restarting the server, I get lag whenever I try to place a block (disappears, reappears), however when I restart the server I can build again.
    Feature requests:
    • Add a confirmation message when I add a griefer.
    • Add a storage/config file somewhere so that I can manually add/remove people.
    • Add /grieferlist to list all players marked as griefers (using storage file)
    • Add a feature to let admins put offline players in the grieferlist (add name to storage file)
    • Change /addgreifer to /addgriefer
    • Change /removegreifer to /removegriefer
    I will try this without any other plugins soon to see if there are conflicting plugins.

    If you have Skype or any other VoIP software, I would gladly show you how the plugin works on my server.
     
  15. Offline

    jeffadkins51

    Mind if i use this for some other plans of mine?

    Okay i have made an update to this plugin; adding permissions, and a built in anti-grief(For all players). Will make a release thread tonight or tomorrow
    EDIT: added messages, for when you add a player to the list, and also remove a player from the list.
    EDTI2: Fixed lightning strike.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  16. Offline

    matter123

    i would perfer if you did not release any plugins based off of mine
     
  17. Offline

    jeffadkins51

    Well its totally redone code. To be completely honest, almost everything in this coding is either misspelled or missing things... It needs a new release. Especially if you are not going to fix these things sooner, as people are having major issues with it (As seen above, and from me testing it).
     
  18. Offline

    srsdude

    Please do not make any anti grief. Anti-griefing is handled by BigBrother and WorldGuard, and I don't want to take a chance at having a conflicting plugin.

    The original request thread for this plugin was here
     
  19. Offline

    jeffadkins51

    This has some sort of antigrief already. But without permissions... So what i was going to do was just add a antigrief measure with permissions, along with the simplicity of this plugin.
     
  20. Offline

    Benjaneer

    @jeffadkins51
    Hmm. Well this plugin isn't called 'antigreif' it's called Greifer Kill. The idea is to annoy greifer's and creatively kill them. Almost a revenge type thing. The plugin assumes that they have already managed to find a way to greif your server such as spamming. Permissions would be nice later, but honestly I think you should have asked before updating the plugin......speaking of 'permission'.....
     
  21. Offline

    jeffadkins51

    Greifer kill for one is misspelled, and the plugin name i am making is called 'NoGriefing' Which is a server administration tool, that just uses some of these features. Honestly, i do not need his permission. But i would not like to offend him, and go and make this plugin without some sort of consent. Anyways, its not your deal. You did not even request this plugin to be made in the first place, and 2nd of all the plugin requester had also asked for permissions and some updates, he has yet to fulfill them updates, so i took his place but yet still making a completely different type of plugin with this type of general idea. No need for that jibber jabber of yours ;).
     
  22. Offline

    Benjaneer

    Yes it is. You're an idiot. I have been a large part of the design process with this plugin on here and elsewhere. And resusing someone's code is not very polite without permission. And who really cares about spelling? A lot of people don't even have english as their first language here. Please think before you type. Maybe read around. This is about as much my request as srsdude's and matter123 has been talking to me about how everything should work. ;) Rofl. You sir need to learn to read. http://forums.bukkit.org/threads/randomly-kill-players.21324/

    Also the person who originally requested the plugin has asked that you do not follow through with this as well as the coder so....

    And who are you to say that his plugin needs a new release anyways?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  23. Offline

    codename_B

    I will look at your code - if I find you are blatantly stealing his code when he has POINT BLANK refused to let you, I will be reporting you to the relevant places.
     
  24. Offline

    jeffadkins51

    Okay #1: I dont care about the silly request, okay? #2: If i feel it needs a new UPDATE or release, then i shall speak my mind, and you sir cannot say otherwise. And another thing, calling me an idiot? Haha. Just because it may not be 'polite' to reuse someone's code's does not mean anything. People use other's codes ALL THE TIME. It helps others and another thing He said get the source on request... Well i didnt have to request it, i just decompiled. Anywho, i don't care what you have to say about my decision. And you may have helped with the ideas and what not of the plugin but why should i honestly care, its just idea's and a OPENSOURCE plugin. Lol, you're funny.

    "Source Code is available upon request" Thanks.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  25. Offline

    Benjaneer

    @jeffadkins51 :

    Upon REQUEST and he obviously has denied your request to use it.
     
  26. Offline

    codename_B

    Just because the source code is available does not mean he allows you to blatantly use it.
    There are many things with the source available which do not allow you to use them with no credit/license.
    See my above point. You are violating the terms of his license.
     
  27. Offline

    jeffadkins51

    And another thing; Im not trying to be a dick head and what not and be like 'ahahaha i stole your code and made some little adjustments to your plugin for a release' I simply want to use this type of code guideline; Make a plugin similar but with different things(Such as antigrief, permission support, more commands, and just misc. things), not just out to steal someone's code.

    ^ - I never said i wouldent give him credits.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  28. Offline

    codename_B

    He said not to use it, what part of this are you not getting?

    Don't use his code, or any variation of it, go write your own code from scratch to do the same thing by all means, but don't use his code.
    See above point, don't use his code.
     
  29. Offline

    Benjaneer

    We got that... But he has asked you not to use his code. So obviously you either need to get his permission or not use it. Surely you can write your own.

    When i get back into Coding again and re-learn java [and get better than i was before], i plan to make a variation of this plugin myself. However, if I use any of the code I will get permission first. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  30. Offline

    jeffadkins51

    Okay i understand what you're trying to say mmk. But what I am trying to say is; Im nowhere near just copying his entire code. I CAN use snippets of it and you cannot tell me else.
     
Thread Status:
Not open for further replies.

Share This Page