GB.Rewarder

Project Icon

project logo

GB.Rewarder

This plugin enables a server operator to reward his players for "working" the server, for instance mining stone, digging dirt, harvesting wheat or shearing sheep.

Features

  • Customize payout per activity, mining / placing blocks / shearing / fishing / mob killed.
  • Payout per activity, or in intervals.
  • Reward XP for a specific amount of activities performed.
  • Reward XP based on chance, per activity performed.
  • Control payout based on a players permissions.
  • World whitelist on a per world / per block basis.
  • Can track players placed blocks, to avoid paying players for mining blocks they placed themselves.
  • Can track players income, over the session, and over their entire career.
  • Can announce when a player has earned a configurable amount, enticing other players to work harder.
  • Can track blocks mined on the server, for fun, or to tweak block values rates.
  • Session and total income can be shown on client screen, if you use GB.VisualWallet (Link)
  • Supports all major economy and permission backends through Vault

Installation / Configuration

Please visit the installation/configuration page

Commands

Please visit the commands overview page

Changelog

1.8.1
  • Removed debugging output, spamming console

For the complete changelog, go to complete changelog

Upcoming features

  • Command to view reward on a given block

The GB. plugin family

If you found this plugin useful, you might want to check out the other plugins in the GB. family.

GB.Shopper, "The one-stop Minecraft shop" (Link)
Sets up a server-global shop for your players to use.
GB.Storagizer, "This goes here, that goes there" (Link)
Making organizing your storage area easy and fun.
GB.Utils, "Your all-round toolbox" (Link)
A collection of useful, smaller, plugins to improve your server.


You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Stevewitt76 Stevewitt76 May 13, 2012 at 23:26 UTC - 0 likes

    i added to our new 1.2.5 server and get the same error as when we tried it for our 1.1 but didnt keep it added as we couldnt figure out how to stop the error below.... please help as i would liek to keep this plugin this time.

    13.05 19:38:41 [Server] INFO ... 18 more 13.05 19:38:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) 13.05 19:38:41 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) 13.05 19:38:41 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 13.05 19:38:41 [Server] INFO at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) 13.05 19:38:41 [Server] INFO at dk.gladblad.flyvehest.gbrewarder.BlockEventListener.blockMined(BlockEventListener.java:28) 13.05 19:38:41 [Server] INFO Caused by: java.lang.NullPointerException 13.05 19:38:41 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 13.05 19:38:41 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453) 13.05 19:38:41 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:556) 13.05 19:38:41 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 13.05 19:38:41 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:121) 13.05 19:38:41 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) 13.05 19:38:41 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39) 13.05 19:38:41 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:709) 13.05 19:38:41 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:311) 13.05 19:38:41 [Server] INFO at net.minecraft.server.BlockLever.interact(BlockLever.java:166) 13.05 19:38:41 [Server] INFO at net.minecraft.server.World.setData(World.java:416) 13.05 19:38:41 [Server] INFO at net.minecraft.server.World.update(World.java:473) 13.05 19:38:41 [Server] INFO at net.minecraft.server.World.applyPhysics(World.java:508) 13.05 19:38:41 [Server] INFO at net.minecraft.server.World.k(World.java:532) 13.05 19:38:41 [Server] INFO at eloraam.core.BlockExtended.doPhysics(BlockExtended.java:63) 13.05 19:38:41 [Server] INFO at eloraam.machine.TileBreaker.onBlockNeighborChange(TileBreaker.java:147) 13.05 19:38:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 13.05 19:38:41 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 13.05 19:38:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) 13.05 19:38:41 [Server] INFO org.bukkit.event.EventException 13.05 19:38:41 [Server] SEVERE Could not pass event BlockBreakEvent to GB.Rewarder

    error appeared when a RP block breaker was used to break a single block and not by a player.. if that helps at all

    Last edited May 13, 2012 by Stevewitt76
  • Avatar of Master_Zangetsu Master_Zangetsu May 07, 2012 at 16:38 UTC - 0 likes

    can you add a payout based on being in a certain place?

    so people get paid for being in an area from this time to this time

  • Avatar of Caledonia Caledonia Apr 29, 2012 at 23:44 UTC - 0 likes

    Thanks for this fix! Was driving me nuts seeing my console spammed.

  • Avatar of FlyveHest FlyveHest Apr 29, 2012 at 17:09 UTC - 0 likes

    @h0us3cat: Go

    Removed in 1.8.1

  • Avatar of h0us3cat h0us3cat Apr 28, 2012 at 21:16 UTC - 0 likes

    Can we disable these messages in the console?

    23:14:40 [INFO] [GB.Rewarder] Whitelisted blocks.2 in world
    23:14:41 [INFO] [GB.Rewarder] Whitelisted blocks.3 in world
    23:14:43 [INFO] [GB.Rewarder] Whitelisted blocks.3 in world
    23:14:43 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:44 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:45 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:45 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:46 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:46 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:47 [INFO] [GB.Rewarder] Whitelisted blocks.3 in world
    23:14:48 [INFO] [GB.Rewarder] Whitelisted blocks.3 in world
    23:14:49 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:50 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:50 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:51 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:51 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:52 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:53 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world
    23:14:53 [INFO] [GB.Rewarder] Whitelisted blocks.1 in world

  • Avatar of FlyveHest FlyveHest Apr 27, 2012 at 21:27 UTC - 0 likes

    @Themonkey180: Go

    That is clearly a bug :) (Or, remnant of debugging)

  • Avatar of Themonkey180 Themonkey180 Apr 27, 2012 at 19:44 UTC - 0 likes

    Why have you added the line below in your code in whitelist. I do not like this i output too much logs, and there is no way to make it stop. Every time some one breaks a block I get a line in my log!

    logLine("Whitelisted " + baseConfigPath + " in " + world);

  • Avatar of FlyveHest FlyveHest Apr 23, 2012 at 07:16 UTC - 0 likes

    @retricide: Go

    Strangely, in the dump, I can't see any code relating to GB.Rewarder at all, except that the event could not be passed to it, so maybe some other plugin modifies or removes the blockbreak event before GB.Rewarder gets access to it.

    I have not tested the plugin in creative mode at all, so that might be it. (But then again, does it even make sense to run it in creative mode?)

  • Avatar of retricide retricide Apr 22, 2012 at 21:12 UTC - 0 likes

    I, too, am getting those BlockBreak errors occasionally: http://pastebin.com/dWXTZLnB

    I think it's due to mcMMO's special abilities: Like giga drill, and others that allow players to break blocks extremely quickly. Scratch that, I don't think it's related. Might be creative-mode related, instead.

    Last edited Apr 22, 2012 by retricide
  • Avatar of Galexrt Galexrt Apr 19, 2012 at 19:25 UTC - 0 likes

    @Themonkey180: Go

    one thing im using spout but i dont get errors!(im using the latest dev version)

Facts

Date created
Feb 01, 2012
Categories
Last update
Apr 29, 2012
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
GB.Rewarder
Downloads
1,021
Recent files

Authors