User:TheLOLxd2/Admin Commands

Hotfix (24.04.2018)
RCON system should now work correctly

Launch Day Patch (08.05.2018)
Fixed a crash related to RCON

Balancing Pass and Exploit Fixes (15.06.2018)
NEW RCON COMMANDS

whitelistplayer  unwhitelistplayer 

Hotfix (07/07/2018)
Fixed a problem preventing modders from cooking mods that had a mod RconCommand in it.

ADMIN COMMANDS
PATCH (17.02.2017)
 * Console command ‘Walk’ can now only be used by admins in order to fix an exploit

PATCH (23.02.2017) Made several console commands require admin

PATCH (14.03.2017) Admins can now use certain commands which are deactivated on the server (remove buildings on PvE server etc) Fixed some cheat commands not requiring admin

Hotfix (18.05.2017) Disabled some console commands that can crash the server. EXPLOIT FIX:: Certain console command (“show staticmeshes”, “show landscape” and “show postprocessing”) now require admin rights to be used EXPLOIT FIX: Certain console command (“show staticmeshes”, “show landscape” and “show postprocessing”) now require admin rights to be used

Update 27 (01.06.2017): Now you can destroy avatars! Explosive jars should no longer explode when removed with the Shift+Delete admin command. Removed some DEV only commands from the Admin Panel.

Hotfix (09.06.2017) Exploit: Glitching through walls using certain console commands no longer possible

Hotfix (16.06.2017) EXPLOIT FIX: Disabled a console command which could let you push foundations into rocks

Update 28 (11.07.2017): Climbing is here! Fixed exploit where a player could glitch through walls by using a specific console command.

Hotfix (24.04.2018) See server settings

Hotfix (25.05.2018) See server settings

Balancing Pass and Exploit Fixes (15.06.2018) See server settings

Hotfix (07/07/2018) Fix for modders not being able to use the UI Modules table or the ActivateGuiModule command anymore.

PC Halloween Update (31.10.2018) See server settings

SERVER SETTINGS
PATCH (02.02.2017)
 * Fixed incorrect settings on port values for servers, making it less likely you will be disconnected when entering a new server

PATCH (23.02.2017)
 * Placeables now correctly respect the "No Ownership" server setting

PATCH (02.03.2017) Server Settings


 * Added ability to restrict PvP time on a server
 * Added ability to set start time, end time and specific days for when PvP is enabled on a server
 * Added ability to restrict when players may damage buildings owned by other players
 * Added ability to set start time, end time and specific days for when players may damage the buildings owned by other players
 * Added ability to restrict avatar summoning on a server
 * Added ability to set start time, end time and specific days for when avatars can be summoned
 * Added ability to modify damage caused by NPCs
 * Added ability to modify damage caused by players

HOTFIX (03.03.2017) Updated server settings to remove decay on placeables

PATCH (14.03.2017) Server Settings

Added ability for server admin to broadcast messages to players on the server Added ability for server admin to teleport to a specific player Added ability for server admin to set a Message of the Day Server admins can now specify the amount of friendly fire (guild mates hurting guild mates) Added a server setting to modify player damage Added server setting that modifies the durability of items Admins can now use certain commands which are deactivated on the server (remove buildings on PvE server etc) Added a new serer setting for BuildingDamageMultiplier Fixed some cheat commands not requiring admin ServerSettings window now shows local time on server

Server browser
 * Various fixes to how server settings are set on server and read on client.
 * This should fix the server settings showing wrong on server list.

HOTFIX (16.03.2017)
 * Message of the day should now save correctly in the ServerSettings window

UPDATE 22 (23.03.2017): You can now dye your clothes Server Settings


 * Added a serversetting to modify how quickly thralls get converted (thrall crafting time multiplier)
 * Added a serversetting so all containers can be interacted with irrespective of ownership (containers ignore all ownership)
 * Added serversetting to modify NPC health also affects Thralls (NPC damage taken multiplier)
 * Added serversetting to modify the rate at which machines consume fuel (fuel burn time multiplier)
 * Added serversetting PlayerDamageTakenMultiplier

UPDATE 23 (30.03.2017): The destructive power of trebuchets is now available Server Settings


 * Added a server setting to modify the rate at which players gain corruption
 * Added a server setting to modify the rate at which entertainers remove corruption
 * You can no longer attempt to change Message of the Day (MOTD) unless you are admin
 * ServerSetting "FriendlyFireDamageMultiplier" if enabled no longer prevents players from taking fall damage
 * Setting MOTD through console now supports inclusion of URLs

UPDATE 24 (06.04.2017): You can now explore the dark and mysterious Dregs
 * Text and Localization: Added tooltip to server settings panel

Update 27 (01.06.2017): Now you can destroy avatars!
 * Added a max ping filter (MaxAllowedPing). It is enabled on official servers by default. Private server admins can turn this on in the server settings with the MaxAllowedPing by setting the value to something other than 0. Value is max ping (ms) allowed.

Server Settings

Servers should no longer appear grayed out when changing filters
 * Added a max ping filter (MaxAllowedPing). It is enabled on official servers by default. Private server admins can turn this on in the server settings with the MaxAllowedPing by setting the value to something other than 0. Value is max ping (ms) allowed.

Update 28 (11.07.2017): Climbing is here!
 * The revert countdown timer in the settings screen can now be dismissed with the ESC key without affecting the desired selection.
 * Fixed an issue where the single player server wouldn't save the settings made during the game hosting section.

Server Settings


 * Fixed some issues where a player could be killed while offline.
 * Added an option to set the maximum ping allowed for a player to be able to connect to the server
 * Fixed the issue where the "Disconnecting from Server" dialog wouldn't disappear when returning to main menu.

Update 30 (20.09.2017)- Temperature system update and quality of life improvements
 * Fixed missing BP_ServerSettings default
 * Added a BuildingPreloadRadius-server setting
 * Visual improvements to Server Settings UI

Update #33 (17.04.2018): Combat Revamp, Fast Travel, Farming and Purge
 * Removed the "Always Attack Towards Target" gameplay setting, as this setting is inactive
 * Target lock has been added! It can be toggled using the Q keybinding by default. When using this, you will face your opponent and can be switched between different enemies. This works at 20 meters max range. We have also added server settings to turn off target lock on the server so server admins can decide the type of experience they want to offer.

On official servers purges will only trigger during "Purge Time" which is a subset of prime time, "Purge Time" is between 6 PM and 10 PM local time, all days. Admins of private servers will be able to adjust this time either through server setting GUI or modifying the serversettings.ini files.

The Journey GUI has been extended from 4 to 10 chapters and can be disabled from showing on your screen through settings. This goes as well for gameplay hints, that shows various keys or gamepad inputs for climbing, fighting, building, etc.

Additionally on all official servers we are changing the decay settings such that max decay value is 6 days after which the structure will be abandoned (any player can interact with and remove the structure), and after 1 day of being abandoned, the structure gets removed automatically by the system.


 * You can now adjust the tethering range in cooperative play to let players move further away from the host. Depending on settings you may need more memory or a more powerful CPU
 * Ymir's axe slam now respects damage settings and increased additional interaction radius, so that foliage far away can take damage on the axe slam attack.
 * While in combat, you are forced into 3rd person. You can disable this in settings though.
 * Server settings & Admin panel

Added server setting to disable target lock Launch Day Patch (08.05.2018)
 * Server settings panel has been redesigned and now has vertical tabs (including one for the Purge!)
 * You can now adjust the tethering range in cooperative play to let players move further away from the host. Depending on settings you may need more memory or a more powerful CPU
 * A new server setting has been added that allows admins to choose how long before a player can regenerate stamina again.
 * Updated the graphics in the admin panel.
 * Moved the admin panel keybind from CTRL+SHIFT+C to SHIFT+INSERT.
 * Maximum decay time changed from 14 days to 6 days (Official servers only)
 * Maximum abandonment time changed from 7 days to 1 day (Official servers only)
 * PurgeNPCBuildingDamageMultiplier server setting now uses per purge difficulty rather than server max purge value to calculate damage modifers.
 * The server setting PurgeNPCBuildingDamageMultiplier can now be modified by server admins
 * New default values for "PurgeNPCBuildingDamageMultiplier = (5.0, 5.0, 10.0, 15.0, 20.0, 25.0)" where the 1st number and 6th number correspond to a difficulty 1 and 6 purge, respectively
 * Purge NPC damage modifier now based on strength of purge instead of purge max difficulty setting
 * Fixed a player collision problem when logging into a server with the setting active to leave offline characters in the world

Hotfix (24.04.2018) There's also a new server commands for controlling the Purge:

"PurgeNPCBuildingDamageMultiplier" is a Purge damage modifier per difficulty level. The default setting for this will be 5x on levels 1 and 2, 20x on levels 3 and 4, and 30x on level 5 and 6. Currently you can not override these values from ini file due to an engine limitation on arrays in ini files but we are looking into a fix. Secondly, we've created a damage modifier for player weapons. This is to prevent regular weapons like swords, spears and arrows from doing too much damage against a building when wielded by players. From now on you'll have a hard time breaking into someone's base with a normal sword. The consequence of this is that orbs, explosive jars and trebuchets will be more important for sieging and raiding again.

The new server setting "PlayerBuildingDamageMultiplier" modifies in % the amount of damage a player does against a building. The default setting will be 0.01%. Friendly Tip: Server admins should add the following to their ini files to avoid unconscious players dying from thirst or hunger after being offline for extended periods of time:

PlayerOfflineThirstMultiplier=0 PlayerOfflineHungerMultiplier=0


 * Added new purge default settings for singleplayer
 * Removed the "Always Attack Towards Target" gameplay setting, as this setting is inactive

Hotfix (15.05.2018) IMPORTANT:

This is a message for everyone who has had issues with their servers having really long loading times and respawns taking several minutes. This is especially an issue for servers running on machines without an SSD.

We have discovered an issue with the unconscious bodies that are loaded on a server restart. It is causing heavy load on the game database.

If you are having these issues, we suggest you turn off the unconscious bodies by adding the following to your servers ServerSettings.ini LogoutCharactersRemainInTheWorld=False

We will be turning this off for all our official servers until a patch with a fix is ready. At which point we will remind you to turn it back on.

Hotfix (18.05.2018) Server admins can use the following server settings for the AFK kicker: [list] []KickAFKPercentage = 80 (integer value, between 0 and 100). The percentage controls how many players need to be logged on before the system starts to kick people. So if set to 80 then you need 32/40 players logged in before it will start to kick anybody. If set to 0, the system should be off. []KickAFKTime = 2700 (integer value, in seconds). X is the amount of seconds of afk before a character is kicked, for example KickAFKTime=60 will kick people after 1 minute of afk [/list]

Hotfix (25.05.2018) Server Settings We've re-enabled the setting where player bodies when logged out will remain in the world. Private server admins can toggle this with the following command: LogoutCharactersRemainInTheWorld=True

Balancing Pass and Exploit Fixes (15.06.2018)


 * Fixed the chat visibility settings not working in other languages than English.
 * Split "Show Help When Building" settings into "Show Help When Building"

NEW SERVER SETTINGS

OverrideDecayMaxBuildingPieces = X, where X is number of pieces (default 6) OverrideDecayTime = N, default value 3600. The amount of seconds it will take this building to decay into abandoned state, and it will then stay in abandoned state for 10% of this time

NEW ADMIN COMMANDS

WhitelistPlayer UnWhitelistPlayer

You can make the server go into whitelist-only mode by adding the following entry to your ServerSettings.ini: EnableWhitelist=True


 * It is no longer possible to alter server setting fields when they are disabled.

ADDITIONAL DECAY SYSTEM EXPLANATION FOR ADMINS

We've added a couple of new server settings that allow server admins to configure the decay system so that it considers buildings of a certain size to be insignificant and should therefore decay a lot faster than regular buildings. As long as there is no placeable involved.

The server settings are:

OverrideDecayMaxBuildingPieces, default value 6. This means a building with 6 or less pieces will get its normal decay time overriden by the time specified in the following server setting OverrideDecayTime, default value 3600. The amount of seconds it will take this building to decay into abandoned state, and it will then stay in abandoned state for 10% of this time. What the example of the default values, any building with 6 or less pieces will go into abandoned state after 1 hour. And then completely decay and be destroyed after 10 minutes in abandoned. (Anyone can demolish an Abandoned building by interacting with it)

It will not get this overriden decay time if there is a placeable, like a bedroll or a campfire, near the building. And it will instead work like before. This is a quick thing we added to combat the "mine-fields" of pillars/foundations placed around the world to claim land. But we're looking into better approaches

Mother of all Patches PC Build (05.07.2018)
 * Added a tool tip to the "Avatar Lifetime" combat server setting.
 * You can now access purge settings while playing.
 * In the settings menu, nudity is now a dropdown option to be in line with other setting choices.
 * Nudity level now updates instantly after changing it in the server settings.

Hotfix (07/07/2018) Decay We have received feedback from EU and US players that it will be tricky to maintain your bases on official servers during the common vacation period in July and early August due to the decay time being 6 days. We are therefore temporarily increasing this to 18 days for EU and US Officials starting this coming week. So assuming your building is large enough it will take up to 18 days to decay [the repair hammer is your best friend and allows you to check this easily!]. We will keep an eye on things and record any significant impact on server performance. Depending on this, we may have to reduce the limit again but we will in that case make sure to announce it first. Otherwise this change will stay in effect until Monday 13th August.

Private server admins who run with the decay system activate can also easily do this by changing the following value in serversettings.ini:

from MaxDecayTimeToAutoDemolish=604800.000000 (this is 6 days counted in seconds) to MaxDecayTimeToAutoDemolish=1814400.000000 (this is 18 days counted in seconds)

Update 34 (04.10.2018) - The Midnight Grove and Jhebbal Sag religion If you match thrall's preferred diet, they will gain a bonus buff. This way, if you do care about the specifics of each companion type, you can get a temporary short-term advantage. You can still feed them whatever you want to prevent them from decaying. This also means you can buff your companions right before battle. A server setting (disabled by default) will allow you to make diet matching mandatory if that's what you prefer

Server settings Private server admins should be aware of the following:

StarvationDamagePenaltyCap=n where n is the percentage of maximum damage that a thrall can take if going hungry for 7 ingame days StarvationDamagePenaltyCap=0.0000 would mean taking max 0% damage over time StarvationDamagePenaltyCap=1.0000 would mean taking max 100% damage over time and potentially killing the thralls


 * Fixed an issue where resetting Video settings to default wouldn't apply changes to Windowed mode and resolution
 * Added a check: If settings have changed, the launcher will ask to confirm about losing changes when starting the server

Update 34 (Part 2: Electric Boogaloo) - Pet System (09.10.2018) New Server Settings The following new server settings controls pet and thrall hunger:

SETTING	ServerSettings.ini NAME	DESCRIPTION Enable Hunger System: Thralls	ToggleHungerSystemThralls	Toggles the hunger system for thralls. Enable Hunger System: Pets	ToggleHungerSystemPets	Toggles the hunger system for pets. Food Nutrition Value	FoodNutritionValue	The amount of nutrition the companion gain from eating food. Starvation Time In Minutes	StarvationTimeInMinutes	The amount of minutes it takes for companion hunger gauges to go from 100 to 0. Starvation Damage Penalty Cap	StarvationDamagePenaltyCap	When a companion's hunger gauge reaches 0, they start taking damage to their health. This value determines how much health can be removed in total, given in percent where 1 means 100% of the health. Animal Pen Crafting Time Multiplier	AnimalPenCraftingTimeMultiplier	Multiplies the speed of crafting in animal pens. Food Container Range multiplier	FeedBoxRangeMultiplier	Multiplies the distance that Food Containers can feed your companions. Exclusive Diet	ExclusiveDiet	Determines whether companions exclusively eat items listed on their diet. Disabled means they will eat any food item, in addition to their diet.


 * Added pet and thrall hunger system server settings to the admin panel

PC Halloween Hotfix (1.11.2018) If it's still too dark for you you can also tweak the following server settings (in game or in an .ini file) to the following values. This will make it less dark:

DayCycleSpeedScale=9.000000 DayTimeSpeedScale=0.10000 NightTimeSpeedScale=10.000000 DawnDuskSpeedScale=5.000000

Halloween Event Server Settings You can use the following console commands to control meteor spawns and decay where X is the multiplier for time.

SetServerSetting HalloweenMeteorDecayTimer=X - The higher number, the rarer meteors are. Set this to a low number for more or less constant meteors. SetServerSetting HalloweenMeteorSpawnTimer=X

Purge
source

Hey all, for those wanting to do some bug testing with the Purge, I've got some inside info's. Looks around to make sure nobody is looking. Alright so…whispers… here's what you can do if you want to try some admin commands.

First, some back end info!

As your Purge Meter fills up, the server periodically checks to see if anybody on the server (or single player) is Purge eligible. If not, then it goes back into it's slumber. How often it checks is determined by the Sever Setting, "Purges Per Day." The higher this setting is, the more often the server will check. This could impact your vanilla testing, so that's why I added this note here.

There also might be a random variable in here, as sometimes a Purge will take a while to start, while other times when at high speeds (see below) I would have a Purge start RIGHT after an active one finished on it's own.

Screenshot below is for reference on what I refer to. The actual settings used in the screenshot are there just for testing purposes (I wouldn't actually recommend you put a threshold of 250 lol).

2019-02-07 2019-02-07.jpg 3840×2160 1.56 MB Additionally, for Single Player, the Player must be within range of the base (unknown max distance) in order for the Purge to trigger. You can have multiple bases (say one in the desert, and one in the north) but the Purge will always trigger to your immediate area. For servers, the Purge doesn't have this requirement. You could be farming in the Mounds and get a Purge at newb river.

I haven't tested on a server yet to see if its the same situation as far as having a player (or clan) own multiple bases. The server will trigger a purge if a player isn't in range of the base, I am just not sure about multiple base situations (yet). So server peoples, get to testing!

Now then, for the admin commands.

FillAllClanPurgeMeters

EmptyAllClanPurgeMeters

These two commands work as they indicate. They will fill your Purge Meter to the top, and empty it to the bottom.

Please note: In Single Player, these two commands are currently bugged in that they VISIBLY don't show to be working when IN A CLAN. Behind the scenes they are doing what they are supposed to, but you the player won't physically see the meter move. When NOT IN A CLAN these two commands work correctly on both ends. Server wise, I haven't tested it out yet to know if its updating the meters correctly (again, visually only).

FillPlayerClanPurgeMeter

EmptyPlayerClanPurgeMeter

These two commands do the same as the two previous, fill and empty. They work correctly in or out of a clan in Single Player. For Single Player testing, its best to use these.

StartPlayerPurge This command will start the next available Purge. It does NOT happen immediately after typing this in. It will initiate on the next server check. On average, at vanilla speeds this took about 5 minutes for me. It is possible to type in a specific Purge Event and Wave Number as well. Sol_Aegis wrote a post that is still relevant if you want to test out specific Purge Events 14. The list given of course only includes the "old" Purge Events. A new list will need to be made after testlive moves over to live.

To summarize, to spawn say, an Exile wave, you would type:

StartPlayerPurge Exile_Purge_Wave1

Note: You will know if this command worked correctly if you look at your Purge Meter and notice it has emptied. If it has NOT emptied, try again as it sometimes it took me two attempts to get it to initiate.

StartNextPurgePhase This command will initiate the next wave in the sequence. If it's on the final wave, the Purge event will end.

EndPurge As advertised, this will end the Purge and the enemies will run away.

slomo 10

slomo 1

Want to become a god? Initiate slomo 10. This will speed everything up x10. This is especially helpful when you want the Purge to start without using the StartPlayerPurge command. Slomo 1 will return speeds to normal.

Last Note:

I had troubles getting the Purge to initiate prior to using any admin commands in Single Player. Once I got 1 Purge to start (using admin commands), then it seemed to open the flood gates. Alternatively, it could have just been more visible under slomo 10 conditions (I went through several day and night cycles and had numerous "natural" Purges).

That's what I got for now, I'll update the post with additional information as needed.

YouTube
some admin commands

(not fully displayed in the video)

DebugRemovePlayer ControllerId[int

DebugCreatePlayer 1

DebugCreatePlayer ControllerId[int

DebugCapsuleSweepSize HalfHeight[floa

DebugCapsuleSweepPawn

DebugCapsuleSweepComplex bTraceComple

DebugCapsuleSweepClear

DebugCapsuleSweepChannel Channel[TEnun

DebugCapsuleSweepCapture

DebugCapsuleSweep

DebugCamps Args[FString]

DestroyTarget

DestroyPawns aClass[TSubclassOf]

DestroyAllPawnsExceptTarget

DestroyAll aClass[TSubclassOf]