Hello i was creating a new plugin thats seems pretty wel but i ran in a issue with the code basicly the plugin send Commands to Console at Server Startup Reason for this is for people that dont have acces to they .bat file or console or anywhere the basic concept is fully working with help of sami but i ran in the issue that server.description is not gonna work as he only takes the first word instead of the full description.
perhaps anyone that could help ussing "" wont solve it as the config file thinks that it starting with a new command
[DOUBLEPOST=1517195845][/DOUBLEPOST]@Wulf do u perhaps know sorry for the stupid question thought
Solved Commands on startup
Discussion in 'Plugin Requests' started by Akeno Himejima, Jan 29, 2018.
-
Wulf Community Admin
It already exists with a couple plugins:
-
i just checked them both out but neither of them solved the issue im having and they seem they have the same issue as wel except magic description but thats build different
[DOUBLEPOST=1517197614][/DOUBLEPOST]what goes wrong = server.description: "Welcome" -
Wulf Community Admin
-
{
Config.Clear();
List<string> lists = new List<string>();
lists.Add("Command");
SetConfig("General", "Command List", lists);
SaveConfig();
}
[DOUBLEPOST=1517198097][/DOUBLEPOST]hmmm -
Wulf Community Admin
The StartupCommands plugin does exactly what you want, and handles the arguments properly.
-
ah yes i seen it hmm but for me i was just trying to learn more and the start up command has some features i wanted to leave out haha
but ill have a look thought ^^
thank u wulf -
Wulf Community Admin