PikaMug / Quests

Easy-to-use, open-source plugin for the creation and execution of quests on Minecraft servers.
https://modrinth.com/plugin/quests.classic
MIT License
147 stars 108 forks source link

MySQL or I don't know error but nothing just "Plugin is loading..." #1770

Closed WhiteFrost06 closed 3 years ago

WhiteFrost06 commented 3 years ago

Hello!

I use your plugin since so many years now and I decided to make a bungee server with 2 roleplays servers connected between my hub and I have the plugin only on my 2 rp servers. I just try to make modifications on my actually quests but I can't on any servers because the plugin is loading with your famous sentence. So how can I make the plugin work? Please, by advance, you're greatest supportert! (I have also QuestGUI on both).

Greetings!

DeadlykillOfficial commented 3 years ago

Quests doesn't support Bungee at all. MySQL support it's not fully done yet. Either way. If you plan to make 2 servers. You need to have exactly same locations, npcs, everything copied aka Duplicate of the server in order to EVENTUALLY work. Since Bungee ain't supported it would most likely not work as you think it should. "Plugin is loading" because it errors out in your console.

WhiteFrost06 commented 3 years ago

Ok so If I remove the NPCs and the quests which are not on the good positions it will be worked? Then I ask the question: If I'll do this, I can hope XP and so many rewards about quests will be work even If I have stats of others plugins connected because I suceed to make quests already present but failed to use commands because errors like you said!

DeadlykillOfficial commented 3 years ago

If you delete NPC's and Quests those quests will not exist in other server. Let's say you have Quest1 in Server1 involving NPC ID 5 If you remove Quest1 in Server2 and remove NPC ID 5 (It will load the plugin properly) But that kind of data will be reset. Basically if you login to server 1 do Quest1 then logout login Server2 and they leave. You can enter Server1 and redo Quest1. Because Quests will think in Server2 that this Quest it's invalid due to not existing and it will wipe the data for it.

This is why you need EXACT copy of a server in order to make it work seamlessly. Or you just use external Quests database to second server run other quests but rewards are MySQL connected between both servers.

WhiteFrost06 commented 3 years ago

Bro I removed quests and config.yml nothing changed, maybe delete all datas to be work?

DeadlykillOfficial commented 3 years ago

Trial - Error it. Eventually you will either get it working nor won't. Officially Quests does not support Bungee and cross-servers.

WhiteFrost06 commented 3 years ago

I removed all the folder from both servers, reboot then it works! I changed the config.yml like before, I put my old quests and it work! I'm happy, thanks!