1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon SkEtcR 3.3

Addon with a wide variety of functions

  1. v3.3

    __R
    Database:

    지원하는 타입 :
    Double(number)
    Integer(integer, int)
    String(string)
    ItemStack(item)
    외에 지원하지 않는 타입 일 경우 모두 String으로 저장됩니다.

    .db파일은 plugins//SkEtcR//Database 폴더에 저장됩니다.

    ( Effect ) [set[ ]]database key %string% value %objects% at %string% - key와 value를 설정합니다objects에는 최대 5개의 값까지 가능 (배열변수)
    키 값 db파일명

    ( Effect ) delete database key %string% at %string% - 해당 값을 삭제합니다.
    키 db파일명

    ( Expression ) database key %string% at %string% - 해당 값을 받아옵니다.
    키 db파일명



    ex)
    on command "레벨":
    database key player's uuid values 1 at "Level"
    send "당신의 레벨을 %database key player's uuid at ""Level""%로 설정하셨습니다" // 출력
    // Level.db파일에 player's uuid를 키로 설정, values를 1로 설정

    ex2)
    on command "stat"
    set {_stat::1} to "10"
    set {_stat::2} to "10"
    set {_stat::3} to "5"
    set {_stat::4} to "10"
    set {_stat::5} to "100"
    database key player's uuid values {_stat::*} at "Stat" // 여러가지의 값을 하나의 키에 저장 가능

    on command "view":
    set {_stat::*} to database key player's uuid at "Stat"
    send "STR : %{_stat::1}%"
    send "DEF : %{_stat::2}%"
    send "AGI : %{_stat::3}%"
    send "LUK : %{_stat::4}%"
    send "HP : %{_stat::5}%"
    // Stat.db파일에 player's uuid를 키로 설정, values를 {_stat::*}로 설정

    on command "rep":
    set {_stat::*} to database key player's uuid at "Stat"
    set {_stat::5} to player's max health
    database key player's uuid values {_stat::*} at "Stat"

    on command "delete":
    delete database key player's uuid at "Stat"
    send "삭제 완료"
Return to update list...