#How do I use console commands as an admin?
1 messages · Page 1 of 1 (latest)
try /forcestart in chat
Didn't work :/
How can I check whether I'm an admin in the server? I've been told I am, but it seems like I'm actually not.
you should have "[Server Admin]" next to your nickname in tab
Hmm, seems like I don't. I'll message the owner again
thanks for your help
one more question, is it "PlayerRoles" 3 for admin, or "PlayerRoles" 1?
namespace BattleBitAPI.Common
{
public enum Roles : ulong
{
None = 0,
Admin = 1 << 0,
Moderator = 1 << 1,
Special = 1 << 2,
Vip = 1 << 3,
}
}
it's 1 apparently
admin 1, mod 2
awesome, thanks mate.
It’s a flags enum.
So the first bit in the ulong decides if you are admin or not, second one if you are mod etc
Hi again. Apologies, I didn't see your message Julgers.
I'm still trying to figure out this issue
Is this set up correctly? The second number is my SteamID, and we're trying to make me an Admin
We also tried setting me to 3 and that didn't work either
The file is /PlayerPermissions/Configuration .json
Additionally, would adding PlayersToStart=1 to the server .conf file work in making servers start instantly?
@prisma ledge
@prisma ledge Sorry to ping you again, not sure if you saw the last one though
No worries
This is a custom file that you are handling in your API, correct?
becuase that does not seem like our built-in permission file
The built-in permissions file
In the directory that has the server and the logs etc., make a file called permissions.txt if that is not already there.
Inside that file, you can put lines in the following format:
<Steam64ID>=admin
<Steam64ID>=moderator
Alternatively, you can handle it in the API and setting the bitflag enum, but I have not personally tried that so I am not really able to help much on that