TuSKe - Custom Enchantments, GUI Manager and more!

Addon TuSKe - Custom Enchantments, GUI Manager and more! 1.8.2

  • 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!

@Nashoba Thank you for letting me know also for someone there that reported it.
I will fix it but give a low priority, I will see if I have more things to fix for today so then I update it.
 
@Tuke_Nuke Does TuSKe still support LandLord? I can't find documentation on it. If not, will it return?
 
@Tuke_Nuke Does TuSKe still support LandLord? I can't find documentation on it. If not, will it return?
Here is all the landlord stuff that TuSKe support:
code_language.skript:
#Effects:
claim land[lord] at %location/chunk% for %player%

unclaim land[lord] at %location/chunk%

#Expressions:
land[lord] owner of %landclaim%
%landclaim%'s land[lord] owner

land[lord] friends of %landclaim%
%landclaim%'s land[lord] friends

land[lord] location of %landclaim%
%landclaim%'s land[lord] location

land[lord] claims of %player%
%player%'s land[lord] claims

landflag %landflag% of %landclaim% for (everyone|friends)

land[lord] claim at %location/chunk%
 
@GiraffeCubed Sadly it needs a update. When I did it I was using old version and the newest version had a bunch of changes. I can't give you exactly time of when I will but are you running the latest version from Spigot? Just to know.
 
I have this console error after upgrading to 1.11.2 (paper spigot):
19:45:06] [Server thread/INFO]: [TuSKe] Enabling TuSKe v1.7
[19:45:06] [Server thread/WARN]: [TuSKe] The version of your server it isn't supported for some expressions: 1_11_R1

How to fix?
 
I have this console error after upgrading to 1.11.2 (paper spigot):
19:45:06] [Server thread/INFO]: [TuSKe] Enabling TuSKe v1.7
[19:45:06] [Server thread/WARN]: [TuSKe] The version of your server it isn't supported for some expressions: 1_11_R1

How to fix?
This is just a warn saying that some expressions is uncompatible with your server version, due they need to be updated with every new minecraft version. (For example, the expression 'player data of %offline player%').

It was fixed since TuSKe 1.7.1, so just updating to the latest one may fix it.
 
Sorry, but what is the expression to add custom enchantments to a item?
 
Sorry, but what is the expression to add custom enchantments to a item?
code_language.skript:
add {_enchantment} to all custom enchantments of {_item}
#or
set {_item} to {_item} with custom enchantments {_enchantment}
Just replace the variables with your correct values
 
hello sir, just found an error (either on your or on my end) :emoji_slight_smile:

code_language.skript:
format gui slot 46 of player with {_eclevel} ender crystal named "&aLevel 1" to nothing

ERROR]: Can't understand this condition/effect: format gui slot 46 of player with {_eclevel} ender crystal named "&aLevel 1" to nothing

{_eclevel} is a valid number, i made sure of that

Btw the variable is the problem, i tried with entering a number. also i can do stuff like
code_language.skript:
give {_eclevel} of dirt to player
@Tuke_Nuke

Please fix if you have time, thank you :emoji_slight_smile:
 
Last edited by a moderator:
Btw the variable is the problem, i tried with entering a number. also i can do stuff like
code_language.skript:
give {_eclevel} of dirt to player

It's because this is a expression that returns an item:
Code:
%number% of %itemstack%
It returns a copy of the item with give number amount. So you just apply it in gui effect.
Remember: As of Skript, the gui effect accepts any expression that makes changes in a item.
code_language.skript:
format gui slot 0 of player with 12 of diamond sword of Sharpness 1 named "Example" with lore "Another example"
 
  • Like
Reactions: mel_instagibson
Having some issues with custom enchants, they wont be applied to anything via skript.

code_language.skript:
command /loadec:
    permission: *
    trigger:
        register a new custom enchantment with id name "Magic"
        set {_enchantment} to "Magic" parsed as custom enchantment
        set max level of {_enchantment} to 5
        set rarity of {_enchantment} to 1
        set accepted items for {_enchantment} to "all"
        set lore name of {_enchantment} to "Magic POWAHHH"
        send "success"

command /listec:
    permission: *
    trigger:
        loop all custom enchantments of player's tool:
            send "%loop-value%"

command /enchantmagic:
    permission: *
    trigger:
        set player's tool to player's tool with custom enchantments Magic
        send "success"

command /ecreload:
    permission: *
    trigger:
        reload all custom enchantments
        send "%all custom enchantments of player's tool%"

The enchantment is in the enchantments file but im unable to apply it

I'm running the latest version for skript and tuske and am on papaerspigot build 1079
[doublepost=1492029099,1491486547][/doublepost]
Having some issues with custom enchants, they wont be applied to anything via skript.

code_language.skript:
command /loadec:
    permission: *
    trigger:
        register a new custom enchantment with id name "Magic"
        set {_enchantment} to "Magic" parsed as custom enchantment
        set max level of {_enchantment} to 5
        set rarity of {_enchantment} to 1
        set accepted items for {_enchantment} to "all"
        set lore name of {_enchantment} to "Magic POWAHHH"
        send "success"

command /listec:
    permission: *
    trigger:
        loop all custom enchantments of player's tool:
            send "%loop-value%"

command /enchantmagic:
    permission: *
    trigger:
        set player's tool to player's tool with custom enchantments Magic
        send "success"

command /ecreload:
    permission: *
    trigger:
        reload all custom enchantments
        send "%all custom enchantments of player's tool%"

The enchantment is in the enchantments file but im unable to apply it

I'm running the latest version for skript and tuske and am on papaerspigot build 1079

help please? :emoji_confused:
 
Can you add a privilege group effect?
The GroupManager privilege groups
 
@mel_instagibson I'm sorry for late response. I saw your comment but I couldn't answer on time and then I forget it.
When you run /listec, is it still not showing the enchantment in your item? Do you sure that there isn't any already added enchantment that conflicts with that one? Could you please check your console while running the command /enchantmagic? if does have a console error, send me here too.

@xbxy How would it be? SharpSK already have support for PermissionEx, so it would be nice to add to it them.
 
@mel_instagibson I'm sorry for late response. I saw your comment but I couldn't answer on time and then I forget it.
When you run /listec, is it still not showing the enchantment in your item? Do you sure that there isn't any already added enchantment that conflicts with that one? Could you please check your console while running the command /enchantmagic? if does have a console error, send me here too.

@xbxy How would it be? SharpSK already have support for PermissionEx, so it would be nice to add to it them.
SharpSK indeed Support PermissionEx
But I don't have any installation PermissionEx..
I use the GroupManager
Umbaska There was once a use 'vault' access privilege group effect
But in the new version has no effect
So you can do a = =
By 'vault'
 
No errors, i also made sure in the enchants file, no conflicts defined. Also restarted etc. It works for you on the current version with paperspigot? Ill try switching to dev26, still on 25 atm maybe that helps...