[SEC] BlockGreif v.2.2.0 - Block every source of Grief [1000] NOW HAS SPANISH!

Discussion in 'Inactive/Unsupported Plugins' started by Jaker232, Jul 14, 2011.

  1. Offline

    Jaker232

    BlockGrief - Block every source of grief
    Version 2.1.0 (Spanish: 2.2.0)


    The Spanish version is out, no update to the main English jar happened. Only translation and code changes.


    BlockGrief is guarantee protections of your server's famous buildings with all the basic sources of grief.
    These items are blocked:
    Blocked-items (open)
    Blocked-items (open)
    Blocked-items (open)

    Lava
    Fire (from flint and steel)

    Lava Buckets
    TNT


    READ THE FAQ BOLDED QUESTION FIRST, VERSION COMMAND IS BROKEN
    Not happy? Just delete the jar file and tell us what you don't like about this plugin.

    Features:
    • Protects grief from various sources.
    • Permissions support.
    • Allow what groups to do what.
    REQUIREMENTS:
    + Permissions or GroupManager
    Download
    Source code can be found on the bottom of the download page.
    Installation Guide

    Spanish .JAR

    2.2.0
    • Added Spanish version! First plugin I've ever translated. Any spelling errors, tell me and I'll fix them. Time for French!
    2.1.0
    • Re-added Lava bucket Events.
    • Revamped the nodes to the match the one in the code.
    Changelog (open)

    2.0.0
    • Deleted Flint and Steel events
    • Deleted Lava Bucket events
    • Tried to fix command. Failure.

    1.0.0
    • Release Plugin
    0.0.3
    • Added version command
    0.0.2
    • Blocked Lava
    • Blocked Lava Buckets
    0.0.1
    • Blocked Flint and Steel
    • Blocked TNT


    FAQ (open)

    Q: I get a severe message that Permission is not detected, rendering it useless.
    A: This plugin is built to work with Permissions, not the default one. GroupManager is also an option.

    Q: Where are the nodes?
    A: Freaking look up in Installation guide.

    Q: Using a dev build, it says I'm running 1.0.0, why?
    A: This is not originally played to be a prank. I haven't have time to update my plugin.yml to match the version.

    Q: I get a direct link to the Github version page. Do I install the version there?
    A: Yes.

    Q: Help! I can't use the version command and my players are setting lava via a bucket and it's not deleted!
    A: This is a current bug that will be fixed in the next minor update.



    Didn't realize the title was taken, but the original plugin was inactive, so I might call this my own version

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

    Taemera

    The other plugin was called AntiGrief, not AntiGreif ;)
     
  3. Yeah, you spelled the word "grief" wrong in every single instance. I know that English isn't the native language of a lot of plug-in developers, but please, PLEASE, try to use good grammar and spelling.
     
  4. Offline

    Jaker232

    Ahh, but I might revamp the name to BlockGreif.

    @LegendarySandwich Sorry about that. English was my first language.

    Did you guys try it?
     
  5. Offline

    Taemera

    I'm testing the plugin as we speak. You should include the version number in the title, by the way.
     
  6. Offline

    cholo71796

    @Jaker232

    "Greif" is not a word. "i" before "e" except after "c," my friend.
     
  7. Offline

    shadrxninga

    Latest 2 changlog entries need to be outside of a spoiler
    You also need to add you plugins version number to the title
     
  8. Offline

    Taemera


    Hey Captain Obvious, do you even read other replies?
     
  9. Offline

    cholo71796

    /facepalm

    I don't think he understood what you were saying judging by his response, so I tried to clarify. Is it so terrible to reinforce something that someone else has said? Also, if I hadn't read your post, would that make me a criminal? Someone woke up on the wrong side of the bed this morning.
     
  10. Offline

    Taemera

    "/facepalm /facepalm"

    And that clearly is you. Yes, you are a very, very, very bad criminal.
    The original poster already responded on the comment about his misspelling:

     
  11. Offline

    cholo71796

    I saw that, and it doesn't make sense to me. I figured he misunderstood, so I attempted to point the problem out again.
     
  12. Offline

    Taemera

    I see, I thought he understood, but perhaps he didn't. You are very right to think that he misunderstood, since he did not even attempt to edit the OP.
     
  13. Offline

    Jaker232

    @Taemera
    @cholo71796
    Please take your discussion into Private Messages, please.

    And tamera, just look under the title in the post.
     
  14. Offline

    beatcomet

    Can you pleas add a source code pleas?

    Edit : didn't noticed that there is a source code download, sorry anout this spam
    Tell me if you want me to delete this comment :)
     
  15. Offline

    Jaker232

    300th post

    DO NOT UPDATE, I'm working on it, just repairing some stuff.

    @beatcomet That's okay. I appreciate feedback. Just give me credit for the source.
     
  16. Offline

    cholo71796

    Nice. You can also edit the thread title with "Thread Tools" up by "Search this thread" and "Watch Thread" in the right-hand corner above the OP.
     
  17. Offline

    Jaker232

    I know that it's possible.
     
  18. Offline

    cholo71796

    Yeah, we were talking about correcting where you say "greif" by changing it to "grief."
     
  19. Offline

    Jaker232

    Thanks for that issue. I have fixed it. Now I got to start developing 2.0.0 since I'm majorily overhauling.

    NOTE: Moving lava will be blocked. If all of your incinerators is stationary, you won't have to panic of losing those.
     
  20. Offline

    cholo71796

    Lol, you fixed one of them. "BlockGreif" still contains the misspelled form.
     
  21. Offline

    Jaker232

    I'll fix that as soon I fix up the code, change every "AntiGreif" into "BlockGrief" and I'm trying to get the version system to work.
     
  22. Offline

    cholo71796

    Oh, okay. Good luck!
     
  23. Offline

    Jaker232

    Fully working at 2.0.0 with a few flaws:

    • Version command doesn't work, so I plan on finding another way to call the /blockgrief version function. It'll take awhile before I get a minor update out.
    • The source code of lava did not disappear because it's probably due to an error.
    • Flint and Steel material event removed. It's also called "Fire" event, because flint and steel triggers the block-place event.
    • Permission nodes are updated, you may or may not have to update. It worked for me for the old nodes. Please reference to the installation guide.
    To-Do:

    • Fix the version command to work.
    • Add an event that if a lava bucket is in a player's hand and check to see if they have the node, and delete it. Whoever does NOT have a node, can grant access to that item.
     
  24. Offline

    Kohle

    Actually, it's: "i" before "e" except after "c", or sounding like "a" as in "neighbor" and "weigh", my friend :)
     
  25. Offline

    cholo71796

    Hahah, I know, it's the shortened form.
     
  26. Offline

    Jaker232

    I'm feeling a little bit sad because no one is using my plugin at all.

    If your server has this plugin, please PM me so I can come and see it live!

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

    Taco

    For the version command try something like this:
    Code:
    PluginDescriptionFile pdfFile = plugin.getDescription();
    if(plugin.permissions.has(event.getPlayer(), "BlockGreif.version")
    event.getPlayer().sendMessage("Running BlockGreif version " + pdfFile.getVersion());
    If you need any more help, PM me. I'll be glad to help.

    On a side note, don't worry too much if people don't seem to use this plugin. It's your first plugin, and there are many other plugins that do this. It's a great job for your first one though. Once you come up with a more unique idea, you'll get many more users.
     
  28. Offline

    Jaker232

    Thanks for the help @Taco, but I don't have it planned for do right now.
    You could help me cancel a lava bucket's dropping lava event.
     
  29. Offline

    Taco

    Code:
    public void onPlayerInteract(PlayerInteractEvent event)
    
    {
    
    if(BlockGreif.Permissions != null && !BlockGreif.Permissions.has(event.getPlayer(), "BlockGreif.lava") || BlockGreif.Permissions == null && event.getPlayer().isOp()))
    
    {
    
    if(event.getAction() == Action.RIGHT_CLICK_BLOCK && event.getItem() != null)
    
    {
    
    if(event.getItem().getTypeId() == 327)
    
    {
    
    event.setCancelled(true);
    
    }
    
    }
    
    }
    
    }
    Bam.
     
  30. Offline

    Jaker232

    Thanks. It would be recommended if you just give me the code in PM.
     

Share This Page