SlimeFun hook

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

cheatchki

Supporter ++
Jun 26, 2017
49
1
8
24
I think itd be neat to see a slimefun hook in, as it would allow for some fun ranking systems.

for example some fun things you could do would include

Events:
on research:
- will activate when a player researches any object
on research %research object%:
- will activate when a player researches a specific object

conditions:
%player%'s has research %research object% - return true or false
- will determine if a player has researched said object

effects:
give %research object/research group% to %player%
- will give a research object for a specific player, or will give all the research objects in a group
unlock %research group% for %player%
- there is a function in SF where some research groups will be locked for a player until they research other areas, adding this may seem unlikely but if possible would be awesome!

expressions
%player%'s total research - returns number
- will return how many research objects the player has completed
%player%'s total [xp] spent - returns number
- will return the amount of XP the player has spent


types:
research object: a individual research thing, like "enhanced crafting table"
research group: a group of researches such as "basic machines"


These are just very basic examples of what I would like to see, and I feel this would be super helpful to many servers using skript and slimefun!