Sueta

Crowdfunding

1.3

Allow players to pool money together to execute custom commands

·Plugin

CrowdFunding is a plugin that allows players to pool a set amount of money together to run a command such as "/time set day" or any server command that would usually be ran by an operator.

PLUGIN REQUIREMENTS:
CrowdFunding requires Vault and any economy plugin that is dependent on vault.

COMMANDS:
/cfund -
Opens the crowdfunding menu

PERMISSIONS:
cfunding.use -
Allows player to use the /cfund command

FEATURES:

CrowdFunding is fully customizable and comes with an easy to use config to tweak the plugin to your needs. You can set the following

  • Title of the menu
  • Amount of slots in the menu
  • Item used in the menu
  • Commands that run when goal is reached
  • Name of item, with color codes
  • Slot item is in
  • Price
  • Goal
  • Use Limit
  • Message that runs when goal is reached

The config comes with 4 default crowdfunding options that you can easily configure/remove.

CUSTOM PLAYER SELECTORS:
CrowdFunding has custom player selectors to expand your abilities!
@a - All players
@l - Last player who funded
@r - Random Player

Ex: "/give @r diamond 64"

DEFAULT CONFIG:

slots   :  27  
  invtitle   :   "&aCrowdfunding"   
  guisettings  :  
    timeday  :  
      item   :  clock  
      name   :   "&6&lSet time to day"   
      price   :  10    #Price to fundc   
      goal   :  30    #Command will execute when reached   
      commands   :   #List of commands to run  
        -  "time set day"   
      slot   :  13  #Inventory slot of item   
      message   :   "&eThe time has been set to day"   #Message to send   
      uselimit   :  2  #Number of times players can fund   
    giveall  :  
      item   :  oak_log  
      name   :   "&6&lGive all one diamond"   
      price   :  10  
      goal   :  20  
      commands   : 
        -  "give @a diamond 1"       
      slot   :  14  
      message   :   "&bThe time has been set to night"   
      uselimit   :  2  
    lastfunder  :  
      item   :  diamond_sword  
      name   :   "&6&lLast clicker gets diamond kit"   
      price   :  10  
      goal   :  20  
      message   :   "&bThe winner is & e@l &b!"   
      commands   : 
        -  "give @l diamond_sword 1"  
        -  "give @l diamond_pickaxe 1"  
        -  "give @l diamond_axe 1"  
        -  "give @l diamond_shovel 1"      
        -  "give @l diamond_hoe 1"  
        -  "give @l diamond_helmet 1"      
        -  "give @l diamond_chestplate 1"  
        -  "give @l diamond_leggings 1"      
        -  "give @l diamond_boots 1"       
      slot   :  15  
      uselimit   :  2  
    rFund  :  
      item   :  diamond  
      name   :   "&6&lGive random player stack of diamonds"   
      price   :  100  
      goal   :  1000  
      commands   : 
        -  "give @r diamond 64"   
      message   :   "&bThe winner is & e@r &b!"   
      slot   :  5  
      uselimit   :  2

List of item names can be found here (not case sensitive)

Found any bugs or have any ideas to add? Contact me on discord:
ant#3783

Similar projects

Plugin →