Nie wyświetlają się rolle
-
Nazwa pluginu: RollTheDice
Wersja pluginu: 1.0.5
Wersja Oxide: 2.0.3814
Gdy wpisuję komendę /roll nie pokazuje mi żadnych rolli, jakiś błąd w kodzie? Config od kolegi z forum, ja dodałem tylko kolorki do nazwy i kila wartości w itemach zmieniałem. Po zmianie wsystko działało, a po chwili przestało działać w konsoli żaden błąd nie wyskakuje.{ "Rolls": { "gracz": { "name": "<color=#FF0000>gracz</color>", "description": "<color=#FF33FF>Raz na 3h!:</color>", "max": 999, "cooldown": 7200.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": 21, "amount": 255, "chance": 5 }, { "itemid": 42, "amount": 255, "chance": 5 }, { "itemid": 47, "amount": 1, "chance": 5 }, { "itemid": 68, "amount": 1, "chance": 5 }, { "itemid": 72, "amount": 1, "chance": 5 }, { "itemid": 87, "amount": 50, "chance": 5 }, { "itemid": 88, "amount": 1, "chance": 5 }, { "itemid": 91, "amount": 1, "chance": 5 }, { "itemid": 127, "amount": 1, "chance": 5 }, { "itemid": 135, "amount": 35, "chance": 5 }, { "itemid": 147, "amount": 255, "chance": 5 }, { "itemid": 155, "amount": 50, "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": [] }, "vip": { "name": "<color=#FF0000>vip</color>", "description": "<color=#FF33FF>Raz na 3h!:</color>", "max": 999, "cooldown": 7200.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": 255, "chance": 5 }, { "itemid": 42, "amount": 255, "chance": 5 }, { "itemid": 48, "amount": 30, "chance": 5 }, { "itemid": 51, "amount": 255, "chance": 5 }, { "itemid": 69, "amount": 1, "chance": 5 }, { "itemid": 79, "amount": 1, "chance": 5 }, { "itemid": 87, "amount": 100, "chance": 5 }, { "itemid": 137, "amount": 1, "chance": 5 }, { "itemid": 129, "amount": 1, "chance": 5 }, { "itemid": 155, "amount": 50, "chance": 5 }, { "itemid": 225, "amount": 1, "chance": 5 }, { "itemid": 219, "amount": 1, "chance": 5 }, { "itemid": 226, "amount": 1, "chance": 5 }, { "itemid": 231, "amount": 1, "chance": 2 }, { "itemid": 273, "amount": 3, "chance": 5 }, { "itemid": 144, "amount": 1, "chance": 1 }, { "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": 120, "chance": 5 }, { "itemid": 93, "amount": 1, "chance": 5 } ], "stats": [], "spawns": [], "replacements": [] }, "svip": { "name": "<color=#FF0000>svip</color>", "description": "<color=#FF33FF>Raz na 3h!:</color>", "max": 999, "cooldown": 7200.0, "authlevel": 0, "hide": false, "permission": "svip", "items": [ { "itemid": 22, "amount": 255, "chance": 5 }, { "itemid": 19, "amount": 255, "chance": 5 }, { "itemid": 23, "amount": 100, "chance": 5 }, { "itemid": 20, "amount": 255, "chance": 5 }, { "itemid": 51, "amount": 255, "chance": 5 }, { "itemid": 81, "amount": 1, "chance": 5 }, { "itemid": 98, "amount": 1, "chance": 5 }, { "itemid": 103, "amount": 1, "chance": 5 }, { "itemid": 130, "amount": 1, "chance": 5 }, { "itemid": 127, "amount": 1, "chance": 5 }, { "itemid": 226, "amount": 1, "chance": 5 }, { "itemid": 225, "amount": 1, "chance": 5 }, { "itemid": 276, "amount": 1, "chance": 5 }, { "itemid": 312, "amount": 1, "chance": 5 }, { "itemid": 293, "amount": 1, "chance": 5 }, { "itemid": 314, "amount": 1, "chance": 5 }, { "itemid": 191, "amount": 30, "chance": 5 }, { "itemid": 219+, "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": [] } } } -
@halwiej problem występuje tutaj
"name": "<color=#FF0000>gracz</color>",
rolli nie da się zrobić tak jak kitów w kolor usuń ten kolor i wszystko powinno działać
Jeśli to jest config który ci wysłałem to musi działać bo sam go używałem
-
@Kub41Tap usunąłem kolorki i nadal nie działa, zmieniałem jeszcze niektóre przedmioty ale to chyba nie jest powodem tego błędu?
-
@halwiej może to powodować błąd jak coś gdzieś źle wpisałeś użyj jeszcze raz tego configu co ci dałem tylko nic nie zmieniaj i zobacz
-
@Kub41Tap teraz działa, czyli pewnie źle coś wpisałem, dzięki za pomoc

-
@halwiej na przyszłość nie rób rolli w kolor

Zamykam temat dodaje taq rozwiązane -
Z tego co widzę to w konfiguracji była literówka. w linii 361 był
+, następnym razem po edycji sprawdź konfigurację, chociaż by w edytorze który podświetla składnie json.
-
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ę