Epidemic icon

Epidemic -----

Bringing real survival to your server



Permission based crafting
Change Log 1.1.4

This is an opt-in new feature release - Please only apply if you would like to use the new feature

(I know its a lot of little changes for each release, I'm trying to make sure too many features aren't added all at once to reduce the chance of bugs.)

This release adds in permission based crafting. If you'd like only specific people or groups to craft disease cures, this is the update for you!

This is an opt-in change and the permission based crafting is disabled by default. To enable it, set the following in the config file

Code (YAML):

# require_craft_perm is a flag to indicate if epidemic.craft.<cure internal name> is needed to
# craft the cure item.  For example, if true, epidemic.craft.splint would be required to craft a splint
require_craft_perm
: true
 
Each cure needs its own permission, those permissions are as follows:

epidemic.craft.<cure internal name>
epidemic.craft.infectioncure
epidemic.craft.reliefcure

You can find the internal cure name in the ailment yml file in the ailments folder. For example, brokenleg.yml has the cure Splint, which has an internal_name of "splint"

Code (YAML):

cure_internal_name
: splint
cure_display_name
: §aSplint
cure_lore
:
 - A sturdy splint to attach to your leg
cure_item
: STICK
 
So you would add the permission epidemic.craft.splint

If the player does not have permission, they will receive a message that they cannot craft that item when they try and remove the item from the crafting table.

2019-07-31 16_33_06-Window.png

----------, Jul 31, 2019
Resource Information
Author:
----------
Total Downloads: 197
First Release: Feb 16, 2019
Last Update: Oct 24, 2023
Category: ---------------
All-Time Rating:
13 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings