ROLL nie dzialaja
-
@rymuz99 spróbuj zrobić tak
/roll edit <nazwa rolla> /roll permission <ustaw nazwę permisji> /o.grant group <grupa której chcesz nadać rolla > <permisja którą ustawiłeś chwilę wcześniej dla rolla> -
Dzialaj a i rolle dziekuje
-
@rymuz99 tylko nie da sie permisij ustawic wyskakuje Permision invalid argument
VIP invalid argument -
/roll permission vip
spróbuj tak wpisać -
Tak wpisalem dodalem
/roll add vippotem chcialem dodac permisije wpisalem/roll permision vipI wyskoczylo to co napisalem -
@rymuz99 nazwę permisji możesz ustawić w pliku z rollami
przykładowo
"permission": "nick",
plik znajduje się w/oxide/data/Rolls.json -
Nie chce dzialac ale sporbuje pobrac od was Gotowe rolle i sprawdze
-
@Kub41Tap
Dodalem rolle
I pemisija dziala tylko do vipa bo nie moge urzyc a nie dodawalem se a svip choc sobie tez nie dodawalem permisij moge{ "Rolls": { "gracz": { "name": "gracz", "description": "<color=#FF33FF>Raz na 3h!:</color>", "max": 999, "cooldown": 10800.0, "authlevel": 0, "hide": false, "permission": null, "items": [ { "itemid": 2, "amount": 1, "chance": 5 }, { "itemid": 7, "amount": 1, "chance": 5 }, { "itemid": 34, "amount": 20, "chance": 5 }, { "itemid": 42, "amount": 30, "chance": 5 }, { "itemid": 47, "amount": 1, "chance": 5 }, { "itemid": 69, "amount": 1, "chance": 5 }, { "itemid": 72, "amount": 1, "chance": 5 }, { "itemid": 87, "amount": 30, "chance": 5 }, { "itemid": 88, "amount": 1, "chance": 5 }, { "itemid": 91, "amount": 1, "chance": 5 }, { "itemid": 127, "amount": 1, "chance": 5 }, { "itemid": 135, "amount": 30, "chance": 5 }, { "itemid": 147, "amount": 30, "chance": 5 }, { "itemid": 155, "amount": 20, "chance": 5 }, { "itemid": 173, "amount": 1, "chance": 2 }, { "itemid": 220, "amount": 1, "chance": 5 }, { "itemid": 226, "amount": 1, "chance": 5 }, { "itemid": 231, "amount": 1, "chance": 2 }, { "itemid": 144, "amount": 1, "chance": 1 }, { "itemid": 275, "amount": 5, "chance": 5 }, { "itemid": 286, "amount": 1, "chance": 5 } ], "stats": [], "spawns": [], "replacements": [] }, "svip": { "name": "svip", "description": "<color=#FF33FF>Raz na 3h!:</color>", "max": 999, "cooldown": 10800.0, "authlevel": 0, "hide": false, "permission": "svip", "items": [ { "itemid": 22, "amount": 200, "chance": 5 }, { "itemid": 19, "amount": 150, "chance": 5 }, { "itemid": 23, "amount": 50, "chance": 5 }, { "itemid": 20, "amount": 50, "chance": 5 }, { "itemid": 51, "amount": 20, "chance": 5 }, { "itemid": 68, "amount": 1, "chance": 5 }, { "itemid": 80, "amount": 1, "chance": 5 }, { "itemid": 94, "amount": 1, "chance": 5 }, { "itemid": 129, "amount": 1, "chance": 5 }, { "itemid": 127, "amount": 1, "chance": 5 }, { "itemid": 226, "amount": 1, "chance": 5 }, { "itemid": 225, "amount": 1, "chance": 5 }, { "itemid": 279, "amount": 1, "chance": 5 }, { "itemid": 281, "amount": 1, "chance": 5 }, { "itemid": 293, "amount": 1, "chance": 5 }, { "itemid": 314, "amount": 1, "chance": 5 }, { "itemid": 191, "amount": 30, "chance": 5 }, { "itemid": 218, "amount": 1, "chance": 5 }, { "itemid": 146, "amount": 1, "chance": 5 }, { "itemid": 144, "amount": 1, "chance": 1 }, { "itemid": 231, "amount": 1, "chance": 2 } ], "stats": [], "spawns": [], "replacements": [] }, "vip": { "name": "vip", "description": "<color=#FF33FF>Raz na 3h!:</color>", "max": 999, "cooldown": 10800.0, "authlevel": 0, "hide": false, "permission": "vip", "items": [ { "itemid": 2, "amount": 1, "chance": 5 }, { "itemid": 7, "amount": 1, "chance": 5 }, { "itemid": 19, "amount": 50, "chance": 5 }, { "itemid": 21, "amount": 100, "chance": 5 }, { "itemid": 42, "amount": 30, "chance": 5 }, { "itemid": 48, "amount": 30, "chance": 5 }, { "itemid": 68, "amount": 1, "chance": 5 }, { "itemid": 69, "amount": 1, "chance": 5 }, { "itemid": 79, "amount": 1, "chance": 5 }, { "itemid": 87, "amount": 25, "chance": 5 }, { "itemid": 80, "amount": 1, "chance": 5 }, { "itemid": 129, "amount": 1, "chance": 5 }, { "itemid": 149, "amount": 1, "chance": 5 }, { "itemid": 218, "amount": 1, "chance": 5 }, { "itemid": 219, "amount": 1, "chance": 5 }, { "itemid": 226, "amount": 1, "chance": 5 }, { "itemid": 231, "amount": 1, "chance": 2 }, { "itemid": 279, "amount": 1, "chance": 5 }, { "itemid": 281, "amount": 1, "chance": 5 }, { "itemid": 282, "amount": 1, "chance": 5 }, { "itemid": 307, "amount": 1, "chance": 5 }, { "itemid": 303, "amount": 1, "chance": 5 }, { "itemid": 286, "amount": 1, "chance": 5 }, { "itemid": 278, "amount": 30, "chance": 5 }, { "itemid": 93, "amount": 1, "chance": 5 } ], "stats": [], "spawns": [], "replacements": [] } } } -
Żeby gracz mógł użyć danego rolla musisz najpierw na daną grupę nadać permisję którą stworzyłeś dla rolla następnie musisz graczowi nadać rangę np svip i wtedy może używać rolli
-
@rymuz99 No to tak, na początek jeśli nie masz rolla to go dodajesz:
(Pamiętaj o prefixie rollthedice., ponieważ jeśli go nie dodasz będą Ci wyskakiwały błędy w logach)
/roll add rollthedice.<nazwa>Jeśli już masz rolla i chcesz go edytować to:
/roll edit rollthedice.<nazwa>Następnie nadajemy permisje:
/roll permission <nazwa>
/roll max <ilość>- tutaj możesz ustawić maksymalną ilość użyć,/roll cooldown <czas>- tutaj możesz ustawić odstęp w jakim będzie można użyć dany roll,/roll description "<opis>"- tutaj możesz ustawić opis rolla
Teraz gdy masz już nadane uprawnienia, opis, itd. czas na dodanie przedmiotów, statystyk bądź kreatur:
/roll additem <ItemID> <Ilość> <Szansa w %>/roll addstat <Nazwa statystyki> <Ilość> <Szansa w %>/roll addspawn <Nazwa kreatury> <Ilość> <Szansa w %>
Listę przedmiotów znajdziesz tutaj.
Statystyki:
- radiation
- dampness
- nutrition
- toxin
- health
- inttemp
- exttemp
- infamy
Kreatury:
- bor
- yeti
- tokar
Gdy już dodasz wszystkie przedmioty, etc. to musisz nadać permisje danej grupie w następujący sposób:
/o.grant <group / user> <steamid / gracz> rollthedice.<nazwa>(Tutaj masz więcej komend.)
Gdy już nadasz permisje oraz przyznasz sobie odpowiednie uprawnienia po wpisaniu
/rollpowinna pokazać Ci się lista rolli dla danej grupy. -
undefined uMod zablokował ten temat dnia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Zarejestruj się Zaloguj się