Kether Tutorial - zzzyyylllty/Sertraline-Hydrochloride GitHub Wiki
The Kether Script was created by Mr. izzel.
It can be used to execute instructions, modify data, game modes, parse Placeholder API, etc.
Let's start learning!
You can use /depazapi eval <script>
to eval Kether, ex: /depazapi eval tell "Hello World"
for all my plugin you can use /chotenapi eval <script>
.
You may use <kether:xxx>
in item anywhere.
1.1.4+ please use {{ }}
.
Tell a message to sender, isn't it simple?
tell {action} | send {action} | message {action}
Let's try and see:
/sertraline api eval tell "Hello World!"
Solve papi from a string
papi {action} | placeholder {action}
Let's try it:
/sertraline api eval papi "Name: %player_name%"
Let's put it together...
/sertraline api eval tell papi "%player_name% Love ChoTenChan"
run a command.
command {action} [as (console|player|op)]
Let us try it:
/sertraline api eval command papi "say %player_name%,Hello!" as console
return kether executer.
/sertraline api eval sender
run a kether in string.
inline {action} | function {action}
/sertraline api eval tell inline "my name is {{ sender }}"