mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 12:31:41 +09:00
Added addons and standalone file
This commit is contained in:
11
Addons/load.lua
Normal file
11
Addons/load.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--[[
|
||||||
|
Explosive Gaming
|
||||||
|
|
||||||
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
|
Discord: https://discord.gg/r6dC2uK
|
||||||
|
]]
|
||||||
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
|
|
||||||
|
-- this file will just contain all the diffrent requires
|
||||||
11
StandAlone/load.lua
Normal file
11
StandAlone/load.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--[[
|
||||||
|
Explosive Gaming
|
||||||
|
|
||||||
|
This file can be used with permission but this and the credit below must remain in the file.
|
||||||
|
Contact a member of management on our discord to seek permission to use our code.
|
||||||
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
||||||
|
Discord: https://discord.gg/r6dC2uK
|
||||||
|
]]
|
||||||
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
|
|
||||||
|
-- this file will just contain all the diffrent requires
|
||||||
@@ -30,7 +30,7 @@ Color, Game, Event = require('/StdLib/load'){'Color','Game','Event'}
|
|||||||
-- loads the ExpLib, functions are plased into the lua global
|
-- loads the ExpLib, functions are plased into the lua global
|
||||||
local ExpLib = require 'ExpLib'
|
local ExpLib = require 'ExpLib'
|
||||||
ExpLib._unpack_to_G(ExpLib)
|
ExpLib._unpack_to_G(ExpLib)
|
||||||
_G.discord_emit = nil -- un-comment this line if you are not using the json.data
|
--_G.discord_emit = nil -- un-comment this line if you are not using the json.data
|
||||||
|
|
||||||
-- loads the ExpCore files these are need in order to run the other addons
|
-- loads the ExpCore files these are need in order to run the other addons
|
||||||
Ranking, Server, Gui = require('/ExpCore/load'){'Ranking','Server','Gui'}
|
Ranking, Server, Gui = require('/ExpCore/load'){'Ranking','Server','Gui'}
|
||||||
@@ -43,3 +43,7 @@ require('/ExpCore/ranks')
|
|||||||
pcall(require,'/Addons/playerRanks')
|
pcall(require,'/Addons/playerRanks')
|
||||||
-- this makes sure that all the little details are cleaned up
|
-- this makes sure that all the little details are cleaned up
|
||||||
Ranking._auto_edit_ranks()
|
Ranking._auto_edit_ranks()
|
||||||
|
-- this loads all the addons
|
||||||
|
pcall(require,'Addons/load')
|
||||||
|
-- this loads anything that does not use ExpCore (sourse given in the file)
|
||||||
|
pcall(require,'StandAlone/load')
|
||||||
Reference in New Issue
Block a user