Filled Bounty Plugin / BeastBounty :D

Discussion in 'Archived: Plugin Requests' started by BeastCraft3, Oct 28, 2014.

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

    BeastCraft3

    Plugin category: Pvp/Fun

    Suggested name: BeastBounty

    What I want: I need a simple bountyplugin which basicly gives a player money if he kills someone who has a bounty placed on them. Am asking here because I didn't find the exact type of Bounty plugin I needed.

    Ideas for commands:
    /Bounty add {TargetPlayersName} {Amount} (Places a bounty on someone)

    /Bounty undo {TargetPlayersName} (If a bounty is placed on the target from the player who sent the undo command it will be undone)

    /Bounty help (Messages the player all commands)

    Ideas for permissions:
    PrisonBounty.Add
    PrisonBounty.undo

    When I'd like it by: Asap, Tomorrow would be nice!
     
  2. Offline

    Gingerbreadman

    BeastCraft3 I could do this but I wont add the /bounty undo then because it would be unfair for the hunters!
     
  3. Offline

    BeastCraft3

    Gingerbreadman
    Ok lol. Thanks for making it . Are you able to make it done within tomorrow or?
    Btw how are you going to send it to me? Skype, email or create some sort of download link?
     
  4. Offline

    15987632

  5. Offline

    BeastCraft3

    15987632
    That bounty plugin is to advanced. I want it to be very simple.
     
  6. Online

    timtower Administrator Administrator Moderator

    I only see 2 changes:
    1. The minimum bounty, just set it to 0.
    2. The name highlight, just disable it.
     
  7. Offline

    BeastCraft3

    timtower
    Yeah, and I can actually just edit the plugin so I get the commands I want.
     
  8. Online

    timtower Administrator Administrator Moderator

    Code based of plugin.yml based?
    For code based: ask the developer to do that instead or use an alias plugin.
    For pluin.yml based: you might break the plugin with this, depends on a couple things, be careful with this.
     
  9. Offline

    BeastCraft3

    timtower
    no, I'm going to import the project to my eclipse workspace and edit the stuff I want for it.
    Can't be simpler :p
     
  10. Online

    timtower Administrator Administrator Moderator

    BeastCraft3 If you can do that then why not make it yourself?
    Make sure to not claim it as your own.
     
  11. Offline

    BeastCraft3

    bwfcwalshy
    ok yes please. I didn't like the version that 15987632 had

    First of all sorry for double posting ;3
    bwfcwalshy can you add the "/bounty undo <player>" command??

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
  12. BeastCraft3 Yeah ok, I will make it /bounty unplace (player) is that ok?
     
  13. Offline

    BeastCraft3

    bwfcwalshy
    emm /bounty undo <player> is better xD
     
  14. BeastCraft3 I've done it. Sorry Gingerbreadman you were a little to slow.

    EDIT: DOWNLOAD
    Commands:
    /bounty add (player) (amount)
    /bounty undo (player)

    Permissions:
    bounty.use
     
  15. Offline

    BeastCraft3

  16. Online

    timtower Administrator Administrator Moderator

    A link on here as any other plugin made on this forum?
     
  17. Offline

    BeastCraft3

  18. BeastCraft3 Oh wait, I needed to add this I totally forgot. One second.
     
  19. Offline

    BeastCraft3

  20. Offline

    Gingerbreadman

  21. Offline

    BeastCraft3

    bwfcwalshy
    the consol gave me this error:
    Code:
    [10:52:16 ERROR]: Error occurred while enabling BeastBounty v1.0 (Is it up to da
    te?)
    java.lang.NullPointerException
            at com.bwfcwalshy.beastbounty.Main.onEnable(Main.java:19) ~[?:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[c
    raftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:324) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:404) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.jav
    a:446) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.
    java:380) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:3
    52) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:3
    26) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:2
    82) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.jav
    a:182) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java
    :436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
            at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6
    28) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    I think you have added Vault wrong in your onEnable void.
    It should contain something like this:
    Code:java
    1. if(!setupEconomy()){
    2. System.out.println("ERROR: THIS PLUGIN REQUIRE VAULT TO START UP");
    3. Bukkit.getPluginManager().disablePlugin(this);
    4. return;
    5. }
     
  22. BeastCraft3 For some reason the command isn't working... getCommand("bounty").setExecutor(new Bounty(this)); Looks fine. timtower any idea why it wont work?

    Gingerbreadman Better luck next time ;)

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

    Lammazz

    getCommand("bounty").setExecutor(new Bounty());
     
  24. Offline

    BeastCraft3

  25. Online

    timtower Administrator Administrator Moderator

    Unless you also want to be able to access the main plugin.
    Added the command to the plugin.yml? Do you have the uppercasing correct?
     
  26. Offline

    BeastCraft3

    timtower Lammazz bwfcwalshy
    I looked thru the plugin and I found out why it didn't work.
    you have created the plugin.yml wrong.
    Remember it should be
    commands:
    not command:
    and you need to have four spaces before adding the commands. and then again four spaces for the description.
    commands:
    bounty:
    description: blabkabla
    I fixed it though. I'll let you know if there is more bugs ;)
     
  27. Online

    timtower Administrator Administrator Moderator

    BeastCraft3 Or 2 spaces, there are multiple things that could cause the issues.
     
Thread Status:
Not open for further replies.

Share This Page