Jump to content
Spikelo

COT Object Spawner

Recommended Posts

Does anyone know of a way to control what objects can be spawned in from Community online tools?

example;  we want to have moderators that can only spawn in certain objects but have full access to the tool otherwise.

Any help would be appreciated.  thank you.

Share this post


Link to post
Share on other sites
7 hours ago, Spikelo said:

Does anyone know of a way to control what objects can be spawned in from Community online tools?

example;  we want to have moderators that can only spawn in certain objects but have full access to the tool otherwise.

Any help would be appreciated.  thank you.

Inside Community Online Tools there's a tool called: Permissions Framework (part of tool). That framework allow you to setup groups and rules for groups.
Full list of rules:

 

Spoiler

Admin 2
Admin.Player 2
Admin.Player.Read 2
Admin.Player.Ban 2
Admin.Player.Kick 2
Admin.Player.Godmode 2
Admin.Player.Spectate 2
Admin.Player.Set 2
Admin.Player.Set.Health 2
Admin.Player.Set.Shock 2
Admin.Player.Set.Blood 2
Admin.Player.Set.Energy 2
Admin.Player.Set.Water 2
Admin.Player.Set.HeatComfort 2
Admin.Player.Set.Wet 2
Admin.Player.Set.Tremor 2
Admin.Player.Set.Stamina 2
Admin.Player.Set.LastShaved 2
Admin.Player.Set.BloodyHands 2
Admin.Player.Transport 2
Admin.Player.Transport.Kick 2
Admin.Player.Transport.Repair 2
Admin.Player.Teleport 2
Admin.Player.Teleport.ToMe 2
Admin.Player.Teleport.MeTo 2
Admin.Permissions 2
COT 2
COT.Show 2
Object 2
Object.Spawn 2
Object.Spawn.Position 2
Object.Spawn.Inventory 2
Teleport 2
Teleport.Cursor 2
Teleport.Predefined 2
CameraTools 2
CameraTools.EnterCamera 2
CameraTools.LeaveCamera 2
CameraTools.UpdateNetworkBubble 2
Game 2
Game.ChangeAimingMode 2
Game.ThrowApple 2
Game.Spawn 2
Game.Spawn.Vehicle 2
Game.Spawn.Vehicle.OffroadHatchback 2
Game.Spawn.BaseBuilding 2
Game.Spawn.BaseBuilding.Platform 2
Game.Spawn.BaseBuilding.Gate 2
Game.Spawn.BaseBuilding.Gate.Wood 2
Game.Spawn.BaseBuilding.Gate.Metal 2
Game.Spawn.BaseBuilding.Fence 2
Game.Spawn.BaseBuilding.Fence.Metal 2
Game.Spawn.BaseBuilding.Fence.Wood 2
Game.Spawn.BaseBuilding.Watchtower 2
Game.Spawn.BaseBuilding.Watchtower.Wood 2
Game.Spawn.BaseBuilding.Watchtower.Metal 2
Weather 2
Weather.SetDate 2
Weather.SetWindFunctionParams 2
Weather.SetOvercast 2
Weather.SetFog 2
Weather.SetRain 2
Weather.SetStorm 2

Number 2 is allow rules, 0 decline access to rule (rule is blocked).

I guess you're search rules:
 


COT 2
COT.Show 2
Object 2
Object.Spawn 2
Object.Spawn.Position 2

 

That rules must be placed in TXT file for example: %DAYZ_SERVER%\%PROFILES_FOLDER%\PermissionsFramework\Roles\admin.txt

admin.txt -> name of group "admin".

Now you can grand player access to group by next step:
a. Using as admin tool and grand group in game (admin and new moderator must be online).

b. Go to folder %DAYZ_SERVER%\%PROFILES_FOLDER%\Players and find there file with SteamID 64 of player. Example: 7656***********0.json

Example of file content of 7656************0.json bellow:

Spoiler

{
    "Names": [
        "Player HZ" <- names reported by game. Check parametr "-name=Player HZ" at DayZ startup parametr, default - Survivor
    ],
    "GUID": "SOME_AWESOME_base64(SHA256(md5("BE"+SteamID64)))_ID", <- Player DayZ ID (genereated from formula, by server)
    "Steam64ID": "7656************0", <- Player SteamID must be match of file name!
    "Roles": [
        "admin" <- here you can set role. I do not test them as array. Perhaps it using for different admin tools based of Perm Framework.
    ]
}

 

And you're ready.

COT automaticly reload all json files if the folders.

I hope that answer will help you.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×