GriefPreventionFlags - Vault

Abandoned
GriefPreventionFlags - Vault is an extension plugin that hooks economy into GriefPreventionFlags
<p>Logo</p>

Logo

Description

GriefPreventionFlags - Vault is an extension plugin that will hook Vault's economy system into GriefPreventionFlags. The project was created as an extended example of using the GriefPreventionFlags Developer API, as such the source code is freely available.

  • Allows server operators to charge currency for setting claim flags.
  • Allows server operators to charge currency for setting player flag messages.
  • Requires Vault and GriefPreventionFlags 1.5+

Announcement

Due to lack of demand and a similar feature being added to Flags, this plugin has officially been discontinued. There will be no further updates of any kind, though the current version may continue to function for some time. If you enjoy the features of GriefPreventionFlags - Vault, please consider upgrading to Flags instead. This discontinuation has no implications as to the current development state of GriefPreventionFlags.

Commands

CommandDescriptionAlias
gpfvault <action>Plugin Maintenance Command (only supported action is "reload").gpfv
setflagprice <flag> <price>Sets the price of the specified flag.sfp
setmessageprice <flag> <price>Sets the price of the message for the specified player flag.smp
getflagprice <flag>Gets the price of the specified flag.gfp
getmessageprice <flag>Gets the price of the message for the specified player flag.gmp
setflagrefundToggles whether or not the flag price will be refunded when removed.sfr
setmessagerefundToggles whether or not the message price will be refunded when removed.smr
previewmessage <flag> <message>Allows the player to see what the message would look like without being charged for it.pm

Permissions

PermissionDescriptionDefault
gpfvault.adminGrants access to the gpfvault command.op
gpfvault.setGrants access to the setflagprice and setmessageprice commands.op
gpfvault.refundGrants access to the setflagrefund and setmessagerefund commands.op
gpfvault.getGrants access to the getflagprice and getmessageprice commands.everyone
gpfvault.previewGrants access to the previewmessage command.everyone

Configuration

The BaseFlagValue setting tells the plugin which value is compared to the new setting to determine if the plugin should charge.

SettingDescription
DEFAULTThe player will be charged for setting the value such that it alters vanilla Minecraft behavior.
GLOBALThe player will be charged for setting the value different from the defined global flag in GriefPreventionFlags.
ALWAYSThe player will be charged regardless of the value set to the flag.

Example:

  BaseFlagValue: DEFAULT

Refund allows the player to gain back the cost of the flag if the value is set back to the DEFAULT or GLOBAL value. If BaseFlagValue is ALWAYS refunds will only be given if the flag is removed, and the refund amount will only be for one use of the /setflag command. WARNING: Players will always be refunded the current price, even if they bought it at a different price.

Example:

  Refund:
    Flags: true
    Messages: false

Prices can be edited manually in config.yml. Once finished, use the /gpfvault reload command to load them. By default, all prices are set to zero. It is safe to remove flags from the list entirely if you wish, the plugin will assume zero for any flag not explicitly defined.

The plugin is designed to dynamically support flags and should not require an update when new flags are added to GriefPreventionFlags. Just add them to the config.yml (or use the set price commands) and it will work!

Example:

  Price:
    Flag:
      NotifyEnter: '100'
    Message:
      NotifyEnter: '2500.5'

Source Code

https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif

The GriefPreventionFlags - Vault Team

profile avatar
  • 7
    Projects
  • 46.4K
    Downloads
Donate

More from _ForgeUser9460195View all

  • RocketTeleport project image

    RocketTeleport

    • 7.0K
    • Bukkit Plugins

    RocketTeleport

    • 7.0K
    • March 25, 2014
    • Bukkit Plugins
    • +1
  • Flags project image

    Flags

    • 17.2K
    • Bukkit Plugins

    Flags is an addon allowing players to change game behavior in areas defined by many anti-grief land management plugins.

    • 17.2K
    • March 23, 2014
    • Bukkit Plugins
    • +3
  • PetStore project image

    PetStore

    • 11.1K
    • Bukkit Plugins

    Allows ownership management of tamable animals.

    • 11.1K
    • March 1, 2014
    • Bukkit Plugins
    • +2
  • HardcoreClaims project image

    HardcoreClaims

    • 3.8K
    • Bukkit Plugins

    Addon for Grief Prevention that deletes claims and restores the land when a player dies.

    • 3.8K
    • February 2, 2014
    • Bukkit Plugins
  • RocketTeleport project image

    RocketTeleport

    • 7.0K
    • Bukkit Plugins

    RocketTeleport

    • 7.0K
    • March 25, 2014
    • Bukkit Plugins
    • +1
  • Flags project image

    Flags

    • 17.2K
    • Bukkit Plugins

    Flags is an addon allowing players to change game behavior in areas defined by many anti-grief land management plugins.

    • 17.2K
    • March 23, 2014
    • Bukkit Plugins
    • +3
  • PetStore project image

    PetStore

    • 11.1K
    • Bukkit Plugins

    Allows ownership management of tamable animals.

    • 11.1K
    • March 1, 2014
    • Bukkit Plugins
    • +2
  • HardcoreClaims project image

    HardcoreClaims

    • 3.8K
    • Bukkit Plugins

    Addon for Grief Prevention that deletes claims and restores the land when a player dies.

    • 3.8K
    • February 2, 2014
    • Bukkit Plugins