Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] OtherDrop's


Rekomendowane odpowiedzi

Opublikowano

Witam, mam problem otóż na serwerze hamachi normalnie działa plugin na drop z stone, a gdy wgram go na craftserve to nie działa. Proszę o jak najszybszą pomoc.


Oto log:

[15:43:36] [server thread/INFO]: [OtherDrops] Enabling OtherDrops v2.8b.573

[15:43:36] [server thread/INFO]: [OtherDrops:2.8b.573] Found supported plugin(s): 'WorldGuard'
[15:43:36] [server thread/INFO]: [OtherDrops:2.8b.573] Loading file: otherdrops-drops.yml
[15:43:36] [server thread/INFO]: [OtherDrops:2.8b.573] Config is invalid!
[15:43:36] [server thread/INFO]: [OtherDrops:2.8b.573] The error was:
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed


A tutak otherdrop-drop:

include-files: 
##########
# The plugin will scan through and load these files after loading the main config below.
# Note: drops from included files will are inclusive and will all be added to the drop list.
##########
#  - includes/od-fix_undroppables.yml    # fix glass, bookshelf, boat and stairs drops
#  - includes/od-goldtools-basic.yml     # allow gold tools chance to get ice, glowstone and grass
#  - includes/od-goldtools-smelt.yml     # gold-pickaxe smelts ores to ingots, sand to glass, etc
#  - includes/od-ore_extraction.yml      # allow ores to be "extracted" - leaving behind the stone
#  - includes/od-leaf_overhaul.yml       # overhaul leaf drops (apples, cocoa beans, leaves, sticks & a very small chance of golden apple)
#  - includes/od-playerdeath_zombie.yml  # players drop zombies on death
#  - includes/od-undead_chaos.yml        # the undead shall rise again! Includes players dropping zombies/skeletons
#  - includes/od-random_examples.yml     # For crazy testing only :) Read through examples before activating.
#  - includes/od-dyewool.yml             # Dye wool after placing!
#  - includes/od-stop_mob_farms.yml      # Stop mob farming!
 
## Other users overhauls
#  - includes/overhaul-catballs.yml     # great example/playable config from Catballs (disable "ob" configs before using this one, otherwise you might have too many drops)
#  - includes/overhaul-zarius.yml       # Zar's messy config (I run this with no other includes, at the moment)
    
## Add your files here (alternatively just add your custom drops to the bottom of this file)
#  - my_custom_file1.yml
 
 
aliases:
##########
# add custom YAML aliases here (advanced customisation) - see the wiki for more information
 
defaults:
    biomes: ALL
    worlds: ALL
##########
# add default values for the config below, "include-files" have their own "defaults" sections
 
 
otherdrops:
    DIAMOND_ORE:
        - drop: DIAMOND
          tool: [iRON_PICKAXE, DIAMOND_PICKAXE]
    IRON_ORE:
        - drop: IRON_INGOT
          tool: [sTONE_PICKAXE, IRON_PICKAXE, DIAMOND_PICKAXE]
    GOLD_ORE:
        - drop: GOLD_INGOT
          tool: [iRON_PICKAXE, DIAMOND_PICKAXE]
    COAL_ORE:
        - drop: COAL
          tool: ANY_PICKAXE
    REDSTONE_ORE:
        - drop: REDSTONE
          quantity: 4-5
          dropspread: true
          tool: [iRON_PICKAXE, DIAMOND_PICKAXE]
    LAPIS_ORE:
        - drop: DYE@Blue
          quantity: 4-8
          dropspread: true
          tool: [sTONE_PICKAXE, IRON_PICKAXE, DIAMOND_PICKAXE]
    EMERALD_ORE:
        - drop: EMERALD
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
    STONE:
        - drop: DIAMOND
          tool: [ANY_PICKAXE]
          height: "<20"
          chance: 4
          quantity: 1
          message: Zdobyles Diament!
        - drop: 265
          tool: [ANY_PICKAXE]
          height: "<60"
          chance: 6
          quantity: 1
          message: Zdobyles Zelazo!
        - drop: 266
          tool: [ANY_PICKAXE]
          height: "<50"
          chance: 4
          quantity: 1
          message: Zdobyles Zloto!
        - drop: 260
          tool: [ANY_PICKAXE]
          height: "<30"
          chance: 3
          quantity: 1
          message: Zdobyles Jablko!
        - drop: 46
          tool: [ANY_PICKAXE]
          height: "<30"
          chance: 2.5
          quantity: 1
          message: Zdobyłes TNT!
        - drop: 263
          tool: [ANY_PICKAXE]
          height: "<60"
          chance: 6
          quantity: 1
          message: Znalazles Wegiel!
        - drop: 47
          tool: [ANY_PICKAXE]
          height: "<30"
          chance: 2.5
          quantity: 1
          message: Znalazles Biblioteczke!
        - drop: 331
          tool: [ANY_PICKAXE]
          height: "<60"
          chance: 3
          quantity: 1
          message: Znalazles Redstone!
        - drop: 368
          tool: [ANY_PICKAXE]
          height: "<20"
          chance: 2.5
          quantity: 1
          message: Zdobyles Perelke!
        - drop: 364
          tool: [ANY_PICKAXE]
          height: "<80"
          chance: 6
          quantity: 3
          message: Zdobyles Steki!
        - drop: 388
          tool: [ANY_PICKAXE]
          height: "<25"
          chance: 2
          quantity: 2
          message: Zdobyles Szmaragdy!
        - drop: xp
          tool: [ANY_PICKAXE]
          quantity: 5
##########
# Your changes here, or create a new .yml file and include it above in the "include-files" section
# Explore the included config files for many more examples
#
# If make a interesting or crazy config let me know on the forum and I might include it in the next release.
#
# Example:
#    GLASS:
#        - drop: GLASS
#          
#        - drop: MONEY
#          quantity: 3-15
#          message: You recycled the glass for %q dollars.
 

graphic.png

Opublikowano

org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed

 

 

To powoduje blad wyjasniam - plugin nie akceptuje specialnych znakow wiec bedziesz to .?. usunac z konfiguracji jak to dawales.

 

Ale chyba mnie cos dziwi, bo blokuje znak ? a w configu go niema, sprawdz czy jakis plugin antyspamowy to blokuje lub czy sie config nie uszkodzil.

Opublikowano

Jakieś pluginy inne wcześniej wgrywałeś? Jeżeli nie to napisz do Supportu tego hostingu, bo możliwe, że błąd jest z Twojej strony lub z ich. 

Opublikowano

Musisz message dać tak:

 

message: 'WIADOMOŚĆ'

 

Z '' nie będzie wywalać błędów.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...