• Es freut uns dass du in unser Minecraft Forum gefunden hast. Hier kannst du mit über 130.000 Minecraft Fans über Minecraft diskutieren, Fragen stellen und anderen helfen. In diesem Minecraft Forum kannst du auch nach Teammitgliedern, Administratoren, Moderatoren , Supporter oder Sponsoren suchen. Gerne kannst du im Offtopic Bereich unseres Minecraft Forums auch über nicht Minecraft spezifische Themen reden. Wir hoffen dir gefällt es in unserem Minecraft Forum!

AnnounceEntityDead

Status
Für weitere Antworten geschlossen.
X

|| xX [DEV][LP] Ms. DivaCraft Xx ||

Guest
Ein Request von @montipiton: ein Service meines Programmiererservices.

Commands:
None

Configuration:
entities:
- ZOMBIE
- 57
radius: 10
template: '{mob} wurde von {p} getötet ({dis})'

Entities können hier gefunden werden http://jd.bukkit.org/apidocs/org/bukkit/entity/EntityType.html
Radius in dem ein Player sein muss
template Nachricht die geschickt wird

ToDo:
Regionensupport

Permission:
None
 

montipiton

Schafhirte
Registriert
12 Mai 2012
Beiträge
118
Diamanten
0
hab ne fehlermeldung deswegen geht es nicht :
2012-09-09 16:53:04 [SEVERE] Cannot load plugins/AnnounceEntityDeath/config.yml
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>", position 347
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
at tk.manf.aed.Config.initialise(Config.java:39)
at tk.manf.aed.AED.onEnable(AED.java:41)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>", position 347
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 16 more
 

montipiton

Schafhirte
Registriert
12 Mai 2012
Beiträge
118
Diamanten
0
config:
[###############################################################################
# Generated by commercial IdiomAPI-Enterprise #
# #
# This is part of AED, a Bukkit Plugin to announce dead Entities #
# Copyright (C) 2012 Björn 'Manf' Heinrichs <muell.mail.d@googlemail.com> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
###############################################################################

entities:
- ZOMBIE
- 57
radius: 10
template: '{mob} wurde von {p} getötet ({dis})'
 

montipiton

Schafhirte
Registriert
12 Mai 2012
Beiträge
118
Diamanten
0
und hab was entdeckt hat das was mit dem radius zu tun ?
2012-09-09 18:28:47 [SEVERE] Cannot load plugins/AnnounceEntityDeath/config.yml
org.bukkit.configuration.InvalidConfigurationException: expected '<document start>', but found BlockMappingStart
in "<string>", line 4, column 1:
radius: 10

und hab das geändert auch ö zu oe gemacht
 

montipiton

Schafhirte
Registriert
12 Mai 2012
Beiträge
118
Diamanten
0
also hab den fehler gefunden und gefixet entweder lags bei mir oder wurde in der config das nicht ganz richtig erstellt hier die
lösung


entities:
- ZOMBIE
- 57
radius: 10
template: '{mob} wurde von {p} getoetet ({dis})'

muss alles in einer reihe stehen
und noch ne frage was heist 57 ?
und das dis sind das kooridinaten oder was?
farbcodes unterstützt das plugin nicht?
 
X

|| xX [DEV][LP] Ms. DivaCraft Xx ||

Guest
Aktuell gibts zwar noch einige Fehlermeldugen(Nichts ernsthaft wichtiges, nur wenn ein Mob ohne einen Spieler stirbt kommt ein Error > Ist schon in der Dev version gefixxt. Farben kommen dann auch...

PS: Du hast total falschen YML Standart.. -> Entites ist eine Liste und daher muss alles eingerückt werdenn.
Hier hast du ein Beispiel im Anhang.


@IchHalt: @Matthias: Wäre schön wenn man auch mal yml dateien hochladen dürfte :O
 
Status
Für weitere Antworten geschlossen.
Oben