TC Levels

TC Levels 1.3.1


FEATURES ★
• Reduce the decay damage by tick;
• Upgrade the authorizations limit;
• Upgrade the building grade limit;
• Upgrade the storage capacity of the cupboard;
• Unlock some deployable items;
• Upgrade the stack size limit of the cupboard;
• Set a default building grade for the server;
• Modify the default decay;
• Keep the cupboard attributes when remove;
Make your server fun ^u^


PERMISSIONS
The plugin has a unique permission, which allows the player to use the cupboard upgrade: tclevels.use


F.A.Q
1. How many items can be blocked? and which?

You can block unlimited items and all items must be deployable or they will not be blocked.

2. Which area will be checked when i place my cupboard?
The entire privilege area will be checked. But you can also disable checks in the configuration file.

3. Could it cause conflict with any plugin?
Yes, but i am providing an API for the plugin so that other developers can integrate with it, so if there is a conflict, just go to the developer's plugin support and ask them to integrate it. Also if it is possible for me to integrate it from my plugin, i will do so without any problem.


API </>
C#:
// Gets the current cupboard allowed building grade limit
// If the cupboard isn't provided, it will return the default building grade limit of the config;
private BuildingGrade.Enum GetBuildingGradeLimit(BuildingPrivlidge? cupboard);

// Gets the current cupboard decay multiplier
// If the cupboard isn't provided, it will return the default decay multiplier of the config;
private float GetDecayMultiplier(BuildingPrivlidge? cupboard);

// Gets the current cupboard authorization limit
// If the cupboard isn't provided, it will return the default auth limit of the config;
private int GetAuthLimit(BuildingPrivlidge? cupboard);

// Gets the current cupboard storage capacity
// If the cupboard isn't provided it will throw an exception;
private int GetCapacity(BuildingPrivlidge cupboard);

// Gets a list of the cupboard blocked items
// If the cupboard isn't provided it will return all locked items listed in the config;
private List<string> GetLockedItems(BuildingPrivlidge? cupboard);


CONFIGURATION
TCLevels.json


SCREENSHOTS
1.jpg
2.jpg
3.jpg
4.jpg
  • Like
Reactions: Palteric

Information

Author
yun
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest Release v1.3.1

Released
Mar 12, 2024 at 4:43 AM
Rating
0.00 star(s) 0 ratings


More resources from yun

  • Furnace Upgrades
    Furnace Upgrades
    Upgrade your furnaces and improve smelting!
  • Military Airfield Event
    Military Airfield Event
    Military Airfield is an event that complicates things at the AirField monument.
  • NPC Bands
    NPC Bands
    Create NPCs bands to play songs
  • Glass Bridge Event
    Glass Bridge Event
    Glass Bridge is an event inspired by the famous netflix series: Squid Game
  • Danger Zones
    Danger Zones
    DangerZones is a plugin that creates a bombing zone event, just like in Battle Royale games!

TC Levels by yun
© chaoscode.io Jan 6, 2024