AliasAlreadyTaken reports: Add a chatcommand for staff an ... #4261

Open
opened 2023-04-25 12:23:59 +00:00 by yourland-report · 5 comments

AliasAlreadyTaken reports a bug:

Add a chatcommand for staff and bailiffs to enable and disable their own privs.

Player position:

{
	x = 2036.5319824219,
	y = 14.5,
	z = 1301.4329833984
}

Player look:

{
	x = 0.24870246648788,
	y = -0.21695077419281,
	z = -0.94397002458572
}

Player information:

{
	major = 5,
	state = "Active",
	ip_version = 6,
	min_rtt = 0.01799999922514,
	max_rtt = 0.27000001072884,
	min_jitter = 0,
	max_jitter = 0.2490000128746,
	avg_jitter = 0,
	connection_uptime = 1356,
	serialization_version = 29,
	patch = 0,
	version_string = "5.8.0-yl_dev-4158b7297",
	avg_rtt = 0.018999999389052,
	protocol_version = 41,
	formspec_version = 6,
	minor = 8,
	lang_code = "de"
}

Player meta:

{
	fields = {
		["stamina:poisoned"] = "no",
		["petz:lycanthropy"] = "0",
		team = "STAFF",
		yl_commons_player_joined = "1682424091",
		played_time = "79112242",
		digged_nodes = "139116",
		placed_nodes = "179946",
		died = "1583",
		repellant = "0",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		arenalib_infobox_arenaID = "0",
		["petz:old_override_table"] = "return {[\"speed\"] = 1, [\"new_move\"] = true, [\"sneak_glitch\"] = false, [\"gravity\"] = 1, [\"jump\"] = 1, [\"sneak\"] = true}",
		yl_church = "return {[\"last_heal\"] = 1622459682, [\"last_death\"] = {[\"z\"] = 307, [\"x\"] = 2876, [\"y\"] = 64}, [\"last_death_portal\"] = 1670634104}",
		inflicted_damage = "2841010",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		yl_audio_state = "off",
		["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}",
		["petz:werewolf_vignette_id"] = "19",
		lagometer = "1",
		["arena_lib_editor.spawner_ID"] = "0",
		szutil_watch = "return {}",
		xp = "0",
		bitten = "0",
		arenalib_watchID = "0",
		["ethereal:fly_timer"] = "-99",
		["petz:werewolf_clan_idx"] = "4",
		["arena_lib_editor.players_number"] = "0",
		yl_commons_thankyou = "936",
		["stamina:level"] = "0",
		hud_state = "on",
		punch_count = "63264",
		crafted = "4765",
		xp_redo_hud_color = "0xFFFF00",
		["sethome:home"] = "(1983.4349365234,17.5,1183.5950927734)",
		["petz:werewolf"] = "0",
		["ocean_build.last_warning"] = "1.67421e+09",
		["signslib:pos"] = "(1941,17,1164)",
		["stamina:exhaustion"] = "149.5",
		partychat = "party",
		["arena_lib_editor.team_ID"] = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = swYobTDA20SFOuriLlNY5QUJvYNuHKpo

Profiler save:

profile-20230425T122359.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 23min 13s | max lag: 0.272s | clients (14/52): AliasAlreadyTaken, Azelf, Bailiff, daydream, drgn, Flippster, Grzegorz, JeCel, MilOOOOO, MineWorlds, Murmel, Service, Sokomine, Sysmatic

Teleport command:

/teleport xyz 2037 15 1301

Compass command:

/give_compass Construction swYobTDA20SFOuriLlNY5QUJvYNuHKpo D2691E 2037 15 1301
AliasAlreadyTaken reports a bug: > Add a chatcommand for staff and bailiffs to enable and disable their own privs. Player position: ``` { x = 2036.5319824219, y = 14.5, z = 1301.4329833984 } ``` Player look: ``` { x = 0.24870246648788, y = -0.21695077419281, z = -0.94397002458572 } ``` Player information: ``` { major = 5, state = "Active", ip_version = 6, min_rtt = 0.01799999922514, max_rtt = 0.27000001072884, min_jitter = 0, max_jitter = 0.2490000128746, avg_jitter = 0, connection_uptime = 1356, serialization_version = 29, patch = 0, version_string = "5.8.0-yl_dev-4158b7297", avg_rtt = 0.018999999389052, protocol_version = 41, formspec_version = 6, minor = 8, lang_code = "de" } ``` Player meta: ``` { fields = { ["stamina:poisoned"] = "no", ["petz:lycanthropy"] = "0", team = "STAFF", yl_commons_player_joined = "1682424091", played_time = "79112242", digged_nodes = "139116", placed_nodes = "179946", died = "1583", repellant = "0", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", arenalib_infobox_arenaID = "0", ["petz:old_override_table"] = "return {[\"speed\"] = 1, [\"new_move\"] = true, [\"sneak_glitch\"] = false, [\"gravity\"] = 1, [\"jump\"] = 1, [\"sneak\"] = true}", yl_church = "return {[\"last_heal\"] = 1622459682, [\"last_death\"] = {[\"z\"] = 307, [\"x\"] = 2876, [\"y\"] = 64}, [\"last_death_portal\"] = 1670634104}", inflicted_damage = "2841010", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", yl_audio_state = "off", ["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}", ["petz:werewolf_vignette_id"] = "19", lagometer = "1", ["arena_lib_editor.spawner_ID"] = "0", szutil_watch = "return {}", xp = "0", bitten = "0", arenalib_watchID = "0", ["ethereal:fly_timer"] = "-99", ["petz:werewolf_clan_idx"] = "4", ["arena_lib_editor.players_number"] = "0", yl_commons_thankyou = "936", ["stamina:level"] = "0", hud_state = "on", punch_count = "63264", crafted = "4765", xp_redo_hud_color = "0xFFFF00", ["sethome:home"] = "(1983.4349365234,17.5,1183.5950927734)", ["petz:werewolf"] = "0", ["ocean_build.last_warning"] = "1.67421e+09", ["signslib:pos"] = "(1941,17,1164)", ["stamina:exhaustion"] = "149.5", partychat = "party", ["arena_lib_editor.team_ID"] = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = swYobTDA20SFOuriLlNY5QUJvYNuHKpo ``` Profiler save: ``` profile-20230425T122359.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 23min 13s | max lag: 0.272s | clients (14/52): AliasAlreadyTaken, Azelf, Bailiff, daydream, drgn, Flippster, Grzegorz, JeCel, MilOOOOO, MineWorlds, Murmel, Service, Sokomine, Sysmatic ``` Teleport command: ``` /teleport xyz 2037 15 1301 ``` Compass command: ``` /give_compass Construction swYobTDA20SFOuriLlNY5QUJvYNuHKpo D2691E 2037 15 1301 ```
AliasAlreadyTaken was assigned by yourland-report 2023-04-25 12:23:59 +00:00
AliasAlreadyTaken added the
1. kind/enhancement
label 2023-04-25 14:13:33 +00:00
Member

which privileges? is this something more than the basic_privs privilege/setting?

which privileges? is this something more than the basic_privs privilege/setting?

Yes, that's about areas, creative and similar. Some staff have privs they do not want to be active all the time, they need a way to enable and disable them.

The yl_roles mod defines roles, singular privs and what takes precedence, this way it is cached who has what priv and can happily enable / disable with a chatcommand

Yes, that's about areas, creative and similar. Some staff have privs they do not want to be active all the time, they need a way to enable and disable them. The yl_roles mod defines roles, singular privs and what takes precedence, this way it is cached who has what priv and can happily enable / disable with a chatcommand
Member

I gave my fast priv back to Alias for some reason. Ok, this special problem was solved in the time between, but to decide about witch priv should be active or not is an option I would prefer.

I gave my fast priv back to Alias for some reason. Ok, this special problem was solved in the time between, but to decide about witch priv should be active or not is an option I would prefer.

fast, fly and noclip have keys they can be enabled and disabled with, but areas and creative and the others I mentioned you either have or have not.

fast, fly and noclip have keys they can be enabled and disabled with, but areas and creative and the others I mentioned you either have or have not.
Member

makes sense now. i think a mechanism similar to basic_privs would work, but call it "staff_privs"? i guess that doesn't allow for managing players w/ different privilege sets though.

makes sense now. i think a mechanism similar to basic_privs would work, but call it "staff_privs"? i guess that doesn't allow for managing players w/ different privilege sets though.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#4261
No description provided.