SkyBlock v3
Well my plugin has no Info.lua. It breaks commands...

@yoboykai You can change the command in SkyBlock.lua or use the plugin that xoft suggested.
Reply
Thanks given by:
I want to change all the /skyblock and /island commands to something else would I just edit them in the SkyBlock.lua and change them or is there multiple folders for the commands?
Reply
Thanks given by:
@yoboykai The commands are all in SkyBlock.lua

This are the lines, they should be around line 85:
Code:
cPluginManager:BindCommand("/skyblock", "skyblock.command", CommandSkyBlock , " - Access to the skyblock plugin")
cPluginManager:BindCommand("/challenges", "skyblock.command", CommandChallenges , " - Access to the challenges")
cPluginManager:BindCommand("/island", "skyblock.command", CommandIsland , " - Access to the island commands")

To change the command, change: /skyblock, /challenges and /island.
You could also keep them, copy the lines and change the commands in the copied lines to /sb for /skyblock, /is for /island and /ch for /challenges.
Reply
Thanks given by: yoboykai
Ok I see now. Thank you.
Reply
Thanks given by:
@yoboykai Ah sorry, I just forgot the language file. On first run a language file will be generated that is then placed in folder languages. You would need to change the commands there, too.
Reply
Thanks given by: yoboykai
Ok I'll change that to thanks for letting me know.
Reply
Thanks given by:
Just for clarification in the languages file, I change every where it says things like 1=/skyblock join or 7=/island home set. to something like 1=/comand join.
Reply
Thanks given by:
Never mind I answered my own question.Big Grin
Reply
Thanks given by:
Corrected a nil access, wrong variable name. The error happens on running the command "/skyblock join".
Code:
[18:30:41] LUA: error in function 'new'.
    argument #2 is 'number'; '[no object]' expected.

[18:30:41] Stack trace:
[18:30:41]   [C](-1): (no name)
[18:30:41]   [C](-1): Vector3d
[18:30:41]   Plugins/SkyBlock/code/functions.lua(142): (no name)
[18:30:41]   [C](-1): ChunkStay
[18:30:41]   Plugins/SkyBlock/code/functions.lua(133): TeleportToIsland
[18:30:41]   Plugins/SkyBlock/code/commands/cmd_SkyBlock.lua(33): (no name)
[18:30:41] Stack trace end
[18:30:41] Error in <attached> calling function <callback>()
Reply
Thanks given by:
Added german language file. Translated by @Angemessen.
Reply
Thanks given by:




Users browsing this thread: 13 Guest(s)