-
Notifications
You must be signed in to change notification settings - Fork 36
Compile MyJailbreak
In this tutorial, I try so "noob-like" as I can, to show how to compile MyJailbreak plugins.
You need a windows PC & if you want to edit the plugins an editor like SPEdit, Sublime Text or Notepad++.
-
Download the sourcemod release for windows that runs on your server to your PC (even when your server runs Linux. Your PC is windows)
-
Extract the .zip to a new folder. In this example
C:\myjb-sourcemod
-
Download the source code of MyJailbreak (dev) to your PC
-
Open the .zip and copy the
\gameserver\addons
directory to your folder from step 2 -
Make your edits in the sourcefiles at
C:\myjb-sourcemod\addons\sourcemod\scripting\MyJailbreak
with your editor -
Save your work
-
Go to
C:\myjb-sourcemod\addons\sourcemod\scripting
and execute (double-click)compile-myjb.bat
-
A console window shows up and all MyJailbreak plugins will be compiled successively and moved to
C:\myjb-sourcemod\addons\sourcemod\plugins\MyJailbreak
. -
Go to
C:\myjb-sourcemod\addons\sourcemod\plugins\MyJailbreak
and upload the new *.smx-files to your servers MyJailbreak plugins folder...\csgo\addons\sourcemod\plugins\MyJailbreak
-
Restart your server
-
Congratulations!
Include files needed for compile core plugin
- autoexecconfig.inc https://forums.alliedmods.net/showthread.php?t=204254
- colors.inc https://forums.alliedmods.net/showthread.php?t=96831
- emitsoundany.inc https://forums.alliedmods.net/showthread.php?t=237045
- myjailbreak.inc https://github.com/shanapu/MyJailbreak/blob/master/addons/sourcemod/scripting/include/myjailbreak.inc
- mystocks.inc https://github.com/shanapu/MyJailbreak/blob/master/addons/sourcemod/scripting/include/mystocks.inc
- chat-processor.inc https://forums.alliedmods.net/showthread.php?t=286913
- smartjaildoors.inc https://forums.alliedmods.net/showthread.php?p=2306289
- warden.inc https://github.com/shanapu/MyJailbreak/blob/master/addons/sourcemod/scripting/include/warden.inc (myjailbreak version)
- myjbwarden.inc https://github.com/shanapu/MyJailbreak/blob/master/addons/sourcemod/scripting/include/myjbwarden.inc (myjailbreak version)
- CustomPlayerSkins.inc https://forums.alliedmods.net/showthread.php?t=240703
- voiceannounce_ex.inc https://forums.alliedmods.net/showthread.php?p=2177167
- lastrequest.inc https://github.com/dataviruset/sm-hosties
- hosties.inc https://github.com/dataviruset/sm-hosties
- smartdm.inc - https://forums.alliedmods.net/showthread.php?p=2364585#post2364585
When compiling Add-Ons - support plugins you need their related include file. All shipped with MYJB
coded with free software