Jump to content

Recommended Posts

I looked around the forums to see if anyone had already asked this question and couldn't find anything, so I do apologize if it has indeed already been addressed.

 

With that being said, I am currently making a character mod and am curious if there is a way I can make it where only my Steam/KleiAccount can use it--making it inaccessible to others from the character selection screen or hidden from them all together. I am creating the character as myself & would love to use it for my streams to play with others I just feel it would be awkward if there were a bunch of other little Tashaxe's running around. :p

 

Thanks in advance!

Link to comment
https://forums.kleientertainment.com/forums/topic/54439-character-requirements/
Share on other sites

Despawn people who aren't you:

local function OnPlayerSpawn(world, player)	world:DoTaskInTime(3.14, function()		if player.prefab == "Tashaxe" and player.userid ~= "ThatnumberafterKU_" then			GLOBAL.c_despawn(player)		end	end)end AddPrefabPostInit("world", function(inst)	if inst.ismastersim then		inst:ListenForEvent("ms_playerspawn", OnPlayerSpawn)	endend)

@Pyr0mrcow, I imagine something like that could be done when a lobby is implemented.

And that is on the works.

Edited by DarkXero

@Tashaxe, custom characters MUST be downloaded by ALL clients in order for them to work properly. It's impractical to set up the mod in a way which would prevent other players from using the character.

 

Ah, I thought that characters were server side mods. My mistake.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...