• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

[MOD] Coppis Additions (NEW)

I have a feature request: Groups. You have players playing together, they can group up. The ability to set a group name with a color to define the group. Also a default group for PvP and one for PvE set by the admin, for mixed servers. If it can edit the players in game name when running around that would be nice too.

 
I have a feature request: Groups. You have players playing together, they can group up. The ability to set a group name with a color to define the group. Also a default group for PvP and one for PvE set by the admin, for mixed servers. If it can edit the players in game name when running around that would be nice too.
Wow that was fast :D .

Will defo look into that. Just one implication i can think off right away. If there is colouring for players individually, group membership and/or PVE/PVP which one should be priority over the other(s).

For example if a player has a yellow chatname and is also a groupmember in the new functionality with blue color for example, should the group color have priority over the players color? So should player have yellow or blue?

Cheers

 
Wow that was fast :D .
Will defo look into that. Just one implication i can think off right away. If there is colouring for players individually, group membership and/or PVE/PVP which one should be priority over the other(s).

For example if a player has a yellow chatname and is also a groupmember in the new functionality with blue color for example, should the group color have priority over the players color? So should player have yellow or blue?

Cheers
IMO I would default PvP as Red and PvE as Blue, with an option for an admin to change if they'd like. I would also use hex code for the color selection. Once that selection has been used, then it shouldn't be available to use again. If possible a message saying that color is already in use, please select another, via a chat pm.

I would prioritize owner/admin/mod/group/individual On my servers, chat color has to be set by an admin. So a regular player is just default white.

If you want real time communication, I'm on guppy's discord or you can join my new owner/admin discord https://discord.gg/r3GvN78

 
Update!

Changelog:

Version 3.7 (2018.02.08)

Improved:

- Improved noclip detection (pug command)

- Improved fly detection (pgd command)

Fixed:

- fixed pblock null reference exception on listall blocks (searchstring *)

- fixed player position calculation. Affects:

• checkloot (CheckLooter)

• killallzombies

• lec (ListEntityCustom)

• owner (MakeOwner)

• pgd (PlayerGroundDistance)

• pug (PlayerUnderground)

• pcheck (PrefabCheckBlock)

• pdup (PrefabDuplicator)

• pexport (PrefabExport)

• pblock (PrefabFillBlock)

• prender (PrefabRender)

• prepblock (PrefabReplaceBlock)

• safe (ProtectionChange)

• additemloot (PutOnLooter)

• remitem (RemoveFromLooter)

• spawnminibike

• sme (SpawnMultipleEntity)

- listplayerbed fixed incomplete listing of all player's beds if one of the players has no bed

- removed obsolete physics command

Cheers

 
Last edited by a moderator:
Update!

Version 3.8 (2018.02.09)

- added ChatGroupColor (cgc): assign players to groups and have them using the same chatname color.

The groups PVE (blue) and PVP (red) will be present by default but can be deleted or changed if needed. Add any group you like, admins, moderators, donors. Any group you can think of.

- added OverrideChatName (ocn): Give a player any chatname you want on your server

ATTENTION: the persistent data structure has changed significantly. Delete the old /Saves/Random Gen/seedname/CoppisPeristentData.bin before starting your server after updating this modversion.

ocn Usage:

ocn <steam id/player name/entity id> <newName>

ocn <steam id/player name/entity id> clear

ocn list

cgc Usage:

cgc listgroups

cgc addgroup <groupName> <groupColor>

cgc deletegroup <groupName>

cgc listmembers <groupName>

cgc adduser <steam id/player name/entity id> <groupName>

cgc cleargroup <steam id/player name/entity id>

The <groupColor> must be 6 hex characters. Example: FF00FF

Cheers

 
Last edited by a moderator:
"OverrideChatName (ocn): Give a player any chatname you want on your server"

lol, nice work xD

 
"OverrideChatName (ocn): Give a player any chatname you want on your server"
lol, nice work xD
Yeah lol :) . Can come in handy when some player has an offensive name or those idiotic 20+ chars long names or just for sheer admin fun :D

Cheers

 
Last edited by a moderator:
Update! Introducing admin waypoints!

Version 3.9 (2018.02.12)

Added:

- Admin waypoints: allows admins to create and manage waypoints for the new admin chatcommands

- Admin chatcommands:

• flyto (/ft): tp yourself to player or coords

• flyto waypoint (/ftw): tp yourself to predefined waypoint

• move (/mv): move player to player or player to coords

• move waypoint (/mvw): move player to waypoint

• add waypoint (/setwp): create a new waypoint

• delete waypoint (/delwp): delete a waypoint

• list waypoints (/listwp): list all predefined waypoints

Improved:

- Detection of secure lootcontainer for commands checkloot, remitem and additemloot

From the github wiki:

Partial Names

When using a command that requires a player's name, the mod will understand if you use only a portion of the name and you can search case-insensitive. Imagine the name of the player is Prisma501, there are various ways to target a command.

/ft pris

/mv 501 4876E 987N

Care must be taken when choosing what letters to use, if zigstum and stumpfgobs are both online, and you try to /ft stum, the mod wil be confused, and you don't want that. :) Don't try to use a name with a space in it; just use the letters from one of the words in the name when targetting a command with a partial name.

Ambiguous names

When you need to use a players name that is ambiguous with another player online you can use double quotes around the name to be able to. When Jo and Joanna are both online and you need to target Jo, just use: /mv "Jo" prisma

Chatcommands

Waypoints

/listwp - List available Waypoints.

/setwp wpname - Set a new waypoint.

/delwp wpname - Delete a set waypoint.

Move




/mv playerfrom playerto - Teleport one player to another.

/mv playername xxxxE/W xxxxN/S - Teleport a player to a specific position.

/mvw playername wpname - Teleport a player to a defined waypoint.

Flyto

/ft playername - Teleport yourself to a player.

/ft xxxxE/W xxxxN/S - Teleport yourself to a specific Location.

/ftw wpname - Teleport yourself to a defined waypoint.

They make my admin life a lot easier. I hope they do the same for you :)

Cheers

 
Last edited by a moderator:
Update!

Version 3.91 (2018.02.13)

Fixed:

- pcheck reporting wrong y-coord when checking a block

Improved:

- fly detection: no more false positive if player is standing on absolute edge of rampBlock or halfBlock

Fly detection is as strict as can be now and chance of false positives is allmost null :)

Cheers

 
Last edited by a moderator:
Great News!I also have a feature request.

I need comprehensive information about the players as the bad company manager has it.

Like this:

https://gist.github.com/StompyNZ/2ba0e4c592cb5d4fc655da91d1adaf0d
For the inventory viewing there is allready alloc's si and coppis si2. I will look into what data the live EntityPlayer object has to offer for querying and reporting and make an extended lp command for it. I really wanna keep the persistentdata to a minimum. BadCo has an excellent function allready for that. BadCo and CoppisAdditions are fully compatible and can run perfectly together :)

Keep a lookout on this thread for the extended lp command.

Cheers

 
This is gonna be yummie :)

Code:
Manage locationtracker settings and data
Usage:
1. loctrack search <steam id/player name/entity id> <distance> <timespan>
2. loctrack search <x> <y> <z> <distance> <timespan>
3. loctrack playertrack <steam id/player name/entity id> <maxrecords> <timespan> <timeBetweenRecords>
4. loctrack enabled <true/false>
5. loctrack command <newChatCommand>
6. loctrack commandenabled <true/false>
7. loctrack interval <seconds>
8. loctrack maxagedata <hours>
9. loctrack neardistance <meters>
10. loctrack

1. report players that where within <distance> of <steam id/player name/entity id> last <timespan>
2. report players that where within <distance> of <x> <y> <z> last <timespan>
3. show location tracks of <steam id/player name/entity id> with maximun reported records <maxrecords> and filter records to be <timeBetweenRecords> apart last <timespan>
4. Enable/Disable location recording
5. Define the ingame chatcommand for querying databases (who was within x meters last y hours on my position)
6. Enable/Disable ingame chatcommand for querying databases
7. Set the interval of recording locations
8. Set the maximum time the data stays in databases
9. Set the distance for use with chatcommand for reporting near live players
10. Show all active location tracking settings
Just a little peek of what's cooking :)

Cheers

 
Last edited by a moderator:
Update 4.0!

Update time!

Version 4.0 (2018.02.17)

Fixed:

- pcheck not reporting blockname (only id) when checking a block

Added:

- /hostiles chatcommand: report enemy activity in your vicinity

- AntiCheat: location tracking system with console,- and chatcommand for querying. Completely embedded system so gamehost friendly!

New chatcommands (for players and admins):

Using locationtracking chatcommand

Depending on what you set the command to (with loctrack consolecommand) the following chatcommand can be different. The chatcommand can be disabled with consolecommand loctrack (loctrack commandenabled false)

/loctrack - report players that were within 50 meters of your position in the last 24 hours.

/loctrack <radius> <hours> - report players that were within <radius> meters of your position last <hours> hours.

/loctrack near - report live players that are within the radius defined with loctrack consolecommand (neardistance)

Hostile reporting

/hostiles - reports the presence of hostiles in your vicinity. Explicit mention for presence of feralradiated zombies, feral zombies, fat zombie cops, dogs, zombiebears, wolfs, dire wolfs, snakes, vultures and bears

New console command loctrack (great AntiCheat feature!):

Check here what it can be used for.

Manage locationtracker settings and data

Code:
Usage:
 1. loctrack search <steam id/player name/entity id> <radius> <numberOfHours>
 2. loctrack search <x> <y> <z> <radius> <numberOfHours>
 3. loctrack showtrack <steam id> <maxrecords> <timespan> <timeBetweenRecords>
 4. loctrack enabled <true/false>
 5. loctrack command <newChatCommand>
 6. loctrack commandenabled <true/false>
 7. loctrack interval <seconds>
 8. loctrack maxagedata <hours>
 9. loctrack neardistance <meters>
10. loctrack
1. list players within <radius> of <steam id/player name/entity id> last <numberOfHours>
2. list players within <radius> of <x> <y> <z> last <numberOfHours> (use y=-1 to ommit y search)
3. show location tracks of <steam id>. Maximum records <maxrecords>.
  Minimum time between records <timeBetweenRecords> (seconds). Within <timespan> (MMddHHmm-MMddHHmm).
4. Enable / Disable location recording
5. Define the ingame chatcommand (include the prefix)
6. Enable/Disable ingame chatcommand for querying databases
7. Set the interval of recording locations (seconds)
8. Set the maximum time the data stays in databases (hours)(0=forever)
9. Set the distance for use with chatcommand for reporting near live players
10. Show all active location tracking settings
Default settings location tracking (Change via loctrack command):

Enabled: True

Command: /loctrack

CommandEnabled: True

LocationInterval: 15 seconds

MaxAgeData: 72 hours

NearDistance: 200 meters

The location tracking system uses serverless indexed databases. Runs queries lightning fast and is gamehost friendly.

Enjoy!

Cheers

 
Last edited by a moderator:
After some questions on how to utilize the location track data from a server owner, i thought the nerdy command description is indeed not very functionally descriptive :)

So what appliances are we looking at with the loctrack command:

subcommand search

  • what players were on the north side of the map within a specific time
  • what players were in the NorthWest section of the map within a specific time
  • what players were within a specific city within a specific time
  • what players were in a specific base within a specific time
  • what players were on a specific farm within a specific time
  • what players were near a specific chest within a specific time
  • etc
    Great for exposing cheaters/hackers/griefers!


subcommand showtrack:

  • can be used to look at the exact track of where a player did go in a specific timespan in console
  • can be used by servermanagers to plot polygons on a (web)map (allocs for example) to visualize the tracks of a player


If you enable the chatcommand (default /who) players themselves can investigate who raided their base/farm/chests. That takes the initial work away from owners/admins. You as owner/admin can then always verify the claim of a player by the loctrack command by using search or showtrack subcommand (or if you are ingame use the chatcommand too to verify).

In a nutshell :D

Cheers

 
Last edited by a moderator:
heh I can see a lot of bot commands are appearing in mods (not just this one). I'm gonna have to come up with MOAR commands to stay ahead xD The bot is able to switch from using / to any symbol (except \ currently).

Just curious, are any of your new commands inspired by the bot's commands? Its a very public bot and I totally don't mind being copied. Its to be expected really.

I'll have to start testing the new stuffs :D How stable is it?

 
Back
Top