Wertzui123 / BedrockClans

An advanced PocketMine-MP clan plugin with many creative features
GNU General Public License v3.0
30 stars 8 forks source link

Crashes everytims #11

Closed Alphazockt135 closed 4 years ago

Alphazockt135 commented 4 years ago

Everytime someone want to create a clan he gets Internal server error

HimmelKreis4865 commented 4 years ago

Hello @Alphazockt135, Please send your console error here (not internal server error), the red message in console, so Wertzui123 can fix this error.

Alphazockt135 commented 4 years ago

[11:53:46] [Server thread/CRITICAL]: ErrorException: "Undefined index: clan_create_cost" (EXCEPTION) in "plugins/BedrockClans_dev-30.phar/src/Wertzui123/BedrockClans/Main" at line 255

Alphazockt135 commented 4 years ago

I tryed use an older version but it still crashes

HimmelKreis4865 commented 4 years ago

yea, please tell me if there's a file settings.yml and messages.yml in /plugin_data/BedrockClans

HimmelKreis4865 commented 4 years ago

and if it has the key clan_create_cost in it.

Alphazockt135 commented 4 years ago

Yes it is but i dont have settings i have only config

HimmelKreis4865 commented 4 years ago

So please create the file messages.yml manually. Copy and paste the content of the messages file to your local file.

Alphazockt135 commented 4 years ago

Geht trotzdem nicht

Alphazockt135 commented 4 years ago

I mean it doesn't work

HimmelKreis4865 commented 4 years ago

so you created the file correctly, saved the content in it, and restarted?

HimmelKreis4865 commented 4 years ago

I don't think the content is there correctly. Otherwise, Wertzui123 has to fix it.

Wertzui123 commented 4 years ago

Hi. Try to copy and paste the contents of the config.yml into your plugin_data/BedrockClans/config.yml and try creating a clan again.

Alphazockt135 commented 4 years ago

Thanks it works i think the config was broken