Jump to content

Player Not Found

Not a Bug 0.1.0

MilaDust
MilaDust

Posted (edited)

I want to give user group perm via in-game story from plugin ServerRewards. After entering command "/rewards add command <name> <command> <cost> - Add a new command to the reward store - basic command" /rewards add command Ultra "tperm add %STEAMID% 30 ultra 30 true" 2, Server writes in RCON perm not found. I tried "tperm add %STEAMID% ultra 30 true"

 

Снимок экрана 2024-10-20 в 04.00.16.png

Снимок экрана 2024-10-20 в 04.01.10.png

Edited by MilaDust
MilaDust

Posted

If i use there "tperm add %STEAMID% ultra 30 true" - Then user not found, if i use "o.usergroup add %STEAMID%  30 true" then just "Player '%STEAMID%' not found". I made a mistake above in code.

IIIaKa

Posted

Changed Status from Pending to Work in Progress

IIIaKa

Posted (edited)

@MilaDust
Hello, try using $player.id instead of %STEAMID%. When calling commands in the ServerRewards plugin, it replaces $player.id with the userID.

o.usergroup add $player.id ultra 30


DvmAZyu.png

9zzTGnG.png

Edited by IIIaKa
IIIaKa

Posted

Yes, the variable %STEAMID% does not exist. Here’s an example with the command: "say $player.id %STEAMID%"

5eQgxQV.png

IIIaKa

Posted

Changed Status from Work in Progress to Not a Bug

IIIaKa

Posted

If the issue persists, feel free to report it in this thread.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.2k
Total sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.