Author Topic: the admin.dat command blocks  (Read 8377 times)

atesterman

  • Posts: 12
  • Turrets: +0/-0
the admin.dat command blocks
« on: January 16, 2007, 01:15:37 am »
How do i use them?
sry if this is the wrong forum for this type of post

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: the admin.dat command blocks
« Reply #1 on: January 16, 2007, 02:01:03 am »
Quote from: "atesterman"
How do i use them?
sry if this is the wrong forum for this type of post
first, you need to have tjw's server installed properly (or any of the svn-based servers, pretty much anything other than the 1.1.0 binary and game.qvm), then you edit admin.dat to include those commands (here's an example)
Code: [Select]

[command]
command = spam
exec = cp This is an annoying [command] block
description = spam the server
levels = 4 5
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
the admin.dat command blocks
« Reply #2 on: January 16, 2007, 03:22:43 am »
It has been my experience that command blocks are buggy at best, and can mess up the server.

∧OMG ENTROPY∧

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
the admin.dat command blocks
« Reply #3 on: January 16, 2007, 03:26:27 am »
Really? That's not been my experience.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
the admin.dat command blocks
« Reply #4 on: January 16, 2007, 03:36:08 am »
Well, you cant enter them below a ban block, and sometimes they just dissapear.

∧OMG ENTROPY∧

Superpie

  • Spam Killer
  • *
  • Posts: 339
  • Turrets: +105/-48
    • superpie.org
-.-
« Reply #5 on: February 20, 2007, 07:43:02 pm »
They disappear only because you have the server running at the same time that you edit it.
What does desc do?
Where is the good in goodbye? -Meredith Willson

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: -.-
« Reply #6 on: February 20, 2007, 09:06:41 pm »
Quote from: "Superpie"
What does desc do?


It's in the output of !help mycustomcommand, if I remember correctly.
benmachine

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
the admin.dat command blocks
« Reply #7 on: February 20, 2007, 10:11:57 pm »
Well, they work flawlessly for me, Put them at the END of your admin.dat

Examples:
Code: [Select]
[command]
command = pmoff
exec    = set g_privatemessages 0;cp ^1Private Messages Disabled
desc    = Turns Off Private Messages
levels  = 6 7

[command]
command = pmon
exec    = set g_privatemessages 1;cp ^1Private Messages Enabled
desc    = Turns On Private Messages
levels  = 6 7

Turns Private Messages On and Off


Code: [Select]

[command]
command = lockserver
exec    = set g_needpass 1;set g_password ****;cp ^1Server Locked.
desc    = Puts a password on the server
levels  = 6 7

[command]
command = unlockserver
exec    = set g_needpass 0;exec nopass.cfg;cp ^1Server UnLocked.
desc    = Removes server password
levels  = 6 7

Passwords And Unpasswords a Server

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
the admin.dat command blocks
« Reply #8 on: February 21, 2007, 05:52:46 am »
I thought passwords were readonly, or latched.

∧OMG ENTROPY∧

Superpie

  • Spam Killer
  • *
  • Posts: 339
  • Turrets: +105/-48
    • superpie.org
the admin.dat command blocks
« Reply #9 on: February 22, 2007, 01:39:18 am »
Passwords are read-only when you set them in the server.cfg, thanks for the other stuff.
Where is the good in goodbye? -Meredith Willson

Rawr

  • Posts: 918
  • Turrets: +1/-1
the admin.dat command blocks
« Reply #10 on: February 23, 2007, 11:15:39 pm »
Does code work in this?
IE
Code: [Select]

[command]
command = speed %i (or what ever interger is)
exec    = set g_speed %i;cp ^1Speed has been set to %e(entry)
desc    = Turns speed to specific amount
levels  = 5 6 7

?
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
the admin.dat command blocks
« Reply #11 on: February 24, 2007, 09:08:53 pm »
Not that i know of, but test it.

∧OMG ENTROPY∧

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
the admin.dat command blocks
« Reply #12 on: February 24, 2007, 09:13:53 pm »
Quote from: "bazuka_poo"
Does code work in this?
IE
Code: [Select]

[command]
command = speed %i (or what ever interger is)
exec    = set g_speed %i;cp ^1Speed has been set to %e(entry)
desc    = Turns speed to specific amount
levels  = 5 6 7

?


I don't belive there are variables like that :(

-:GoDz:-Devil

  • Guest
the admin.dat command blocks
« Reply #13 on: February 24, 2007, 09:26:19 pm »
Done tested it. It does not work.

Rawr

  • Posts: 918
  • Turrets: +1/-1
the admin.dat command blocks
« Reply #14 on: February 25, 2007, 06:06:39 pm »
:cry:  :cry:  :cry:
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]