Looking for In-Game Admin Tool

Dumgard

New Member
I'm looking for an in game admin tool that can spawn vehicles/items, stealth mode, teleport, etc.

Any suggestions?
 
Install Instructions (chernarus)

Open your mission folder and add the admintools no debugversion folder.

Make changes to your init.sqf

Find

Code:
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

Comment it out by adding // in front of it like so

Code:
//_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

Then under that paste this new line, this player_monitor file needs a new version with the correct changes every time dayz is updated! Your server wont work if its the wrong one!

Code:
_playerMonitor = [] execFSM "admintools\player_monitor.fsm";

And at the bottom of init.sqf add

Code:
[] execVM "admintools\Activate.sqf";

Then locate this code in Activate.sqf, and admintoolsmain.sqf found in the admintools folder
change ###### to your admins player id's

Code:
if ((getPlayerUID player) in ["#######","#######"]) then {

Dont forget in admintoolsmain.sqf to add your ID to one of the different moderators, admins, or super admins

player id's can be found in arma 2 main menu Profile>>"YourPlayerName">>Edit, look in the bottom left hand corner for "Player ID" or in the database as "unique_id" or "PlayerUID" that is the number that needs to be added to the code.

In your server.pbo

Adjust your server_cleanup.fsm file for "Killed a hacker" fix (thanks sarge)

Depends which DayZ version you are running.

The line you are looking for is either:

Code:
" if (!(vehicle _x in _safety) && ((typeOf vehicle _x) != ""ParachuteWest"") ) then {" \n

Change to / add as shown:

Code:
" if (!(vehicle _x in _safety) && ((typeOf vehicle _x) != ""ParachuteWest"") && (vehicle _x getVariable ["Sarge",0] != 1) ) then {" \n

Or the line looks like

Code:
if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n

Change that to

Code:
if(vehicle _x != _x && (vehicle _x getVariable ["Sarge",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) !=



in your server_objectUpdate.sqf (or however it's called in your server package) locate this: (thanks sarge)
Code:
if (!_parachuteWest) then { if (_objectID == "0" && _uid == "0") then { _object_position = getPosATL _object; diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2]; _isNotOk = true; }; };

and change to
Code:
if (!_parachuteWest) then { if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) then { _object_position = getPosATL _object; diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2]; _isNotOk = true; }; };


once you have all of this done pack and replace your mission.pbo and dayz_server.pbo
if your player ID has been added to the correct portions of code a option will be added to the scroll menu
 
Back
Top