Sueta
FG

fGolem - Plugin for collections

2023-09-10

An easy to use collection plugin!

·Plugin

Features:

● PlaceholderAPI support
● Hex colors support
● You can set shards for a kill
● You can change all messages in file config.yml
● You can set your own inventory
● Custom heads support
● Custom progress
● You can change the style of opening the inventory (ENTITY, COMMAND)
●
You can change types of messages (TITLE, SUBTITLE, CHAT, ACTIONBAR)

Commands:

admins:
● /collections reload
● /collections list
● /collections create <name>
● /collections delete <name>
● /collections setshard

users:
● /collection

Permissions:
● admin.golem (You can chnage this permission in config)

config.yml
permission: 'admin.golem'
how_to_open_inventory:
  entity:
    enabled: true
    entity: IRON_GOLEM
  command:
    enabled: true
shards_for_kills:
  enabled: true
  chance: 0.1
progress_style:
  start: "&8["
  symbol: "●"
  colors:
    1: "&a"
    2: "&c"
  end: "&8]"
shard:
messages:
  #Types of messages:
  #CHAT, TITLE, TITLE_SUBTITLE, SUBTITLE, ACTIONBAR, CHAT
  no_permissions:
    type: CHAT
    message: "&cYou don`t have permissions to do this!"
  correct_use:
    type: CHAT
    message: "&cUsage&8: &7/golem <list/create/delete/setshard> <name>"
  create_event:
    type: CHAT
    message: "&aEvent {EVENT} has been created!"
  delete_event:
    type: CHAT
    message: "&cEvent {EVENT} has been deleted!"
  set_shard:
    type: CHAT
    message: "&aYou have successfully set this item as a shard!"
  add_shard_to_event:
    type: CHAT
    message: "&aYou have added shard to a collection: &2{EVENT}"
  you_dont_have_shard:
    type: CHAT
    message: "&cYou do not have a shard in your inventory"
  event_is_full:
    type: CHAT
    message: "&cThe amount has already been deposited&8: &b{PAID}&8/&b{MAX} &cin a few seconds the reward will be given to the entire server!"
  shard_for_kill:
    type: TITLE
    message: "&aYou killed player {PLAYER} and got a shard!"
collections.yml
collections:
  test:
    #Here you can set name of the event
    name: test
    #Here you set the number players need to collect
    max: 500
    #Don`t touch this!
    paid: 0
    #Here you can set commands
    commands:
      - "Here add a command"
    item:
      #Here you can set the item name
      displayname: '&b&lYour Collection'
      #Here you can set material if you want a custom head set this on PLAYER_HEAD and add line head-texture
      material: DIRT
      #Here is the slot of the item
      slot: 13
      #Here you can set lores for the item
      lores:
        - ''
        - ' &7After reaching the final destination, the entire server'
        - ' &7Receives &fHere your event &7for &fHere your time'
        - ''
        - ' &7Required number of shardss&8: &f{MAX}'
        - ''
        - ' &7In the collection&8: &f{PAID}&8/&f{MAX}'
        - ' &7Progress&8: {START}&r{PROGRESS}{END}'
        - ''
        - '&aClick here to add some shards!'
inventory.yml
inv:
  title: "&8fGolem - Collection"
  size: 27
  backgrounds:
    '1':
      material: BLACK_STAINED_GLASS_PANE
      displayname: "&7"
      lores: []
      slots: [0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,25,26]

I hope you enjoy using the plugin! ;D

Similar projects

Plugin →