[Mod] Admin Toys [2.0][admin_tools]

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

[Mod] Admin Toys [2.0][admin_tools]

by wilkgr76 » Thu Jan 28, 2016 03:07

You might want to not ban a player, but just annoy him a lot. (Make people leave by themself, not banning them!). Admin Toys is there for that.

Here are the commands:
/antigravity <person>: Gives that person antigravity
/jump <person>: Gives that person huge jump boost, usually killing them.
/fast <person>: Gives that person a lot of speed
/freeze <person> Freezes that person. They can only move if they are teleported or dig underneath themselves.
/controls <person>: Gives that person very quirky controls, resulting in a literally uncontrollable character. Use with caution!
/glide <person>: Anti-fall damage. Slows your descent
/reset <person>: Resets gravity, eye offset and visual size
All of these commands require the "server" priv.

You can give the mod whatever folder you want, as it only uses commands and registers no items.

GitHub - https://github.com/wilkgr76/admin_toys/tree/master
Download - https://github.com/wilkgr76/admin_toys/ ... master.zip

Dependencies: none (default is in depends.txt only to satisify MT)
License: MIT
Last edited by wilkgr76 on Sat Jul 29, 2017 09:57, edited 10 times in total.
N/A
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [mod] Admin Toys [1.0] [admin_tools]

by wilkgr76 » Thu Jan 28, 2016 06:37

Note: Using the command without parameter (username) will result in a server crash. The mod won't go bigtime without a fix for that. FIXED
Last edited by wilkgr76 on Fri Jan 29, 2016 00:01, edited 2 times in total.
N/A
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [mod] Admin Toys [1.0] [admin_tools]

by wilkgr76 » Thu Jan 28, 2016 06:53

Update 1.1 - Running a command without parameters no longer crashes the server.
Running the /fast command will now make you fast if you run it without a parameter.'

I believe this mod is now finished. Could this please be moved to "Mod Releases"? Moved. -- kaeza

Thanks :)
N/A
 

User avatar
BBmine
Member
 
Posts: 3459
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [1.1][admin_tools]

by wilkgr76 » Fri Jan 29, 2016 06:26

BBmine wrote:Nice! +1

Admin gets to grief the players. :D

Grief the griefers. :)
N/A
 

Martno
Member
 
Posts: 77
Joined: Thu May 28, 2015 07:09
Location: Hungary
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [1.1][admin_tools]

by wilkgr76 » Sun Jan 31, 2016 09:49

azekill_DIABLO wrote:nice +1 !!

i will annoy so much people with that!! (i'm kidding guys)

I'm glad. :)

Martno wrote::D
Cool!

Thanks :)
Last edited by wilkgr76 on Sat Jul 29, 2017 10:07, edited 1 time in total.
N/A
 

twoelk
Member
 
Posts: 1258
Joined: Fri Apr 19, 2013 16:19
Location: northern Germany
GitHub: twoelk
IRC: twoelk
In-game: twoelk

Re: [Mod] Admin Toys [1.1][admin_tools]

by twoelk » Sun Jan 31, 2016 11:02

you could add some commands useful for a classroom environment such as /freeze or teleport a defined group of players to a predefined position(classroom).

actually defining groups of players to be able to deploy batch commands might be interesting for other mods as well.

Other mods or games with parts that could be interesting to extract might be the Hunger_Games, Jail, player_effects, stay_inside and others I can't remember just now.
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [1.1][admin_tools]

by wilkgr76 » Mon Feb 01, 2016 00:35

twoelk wrote:you could add some commands useful for a classroom environment such as /freeze or teleport a defined group of players to a predefined position(classroom).

actually defining groups of players to be able to deploy batch commands might be interesting for other mods as well.

Other mods or games with parts that could be interesting to extract might be the Hunger_Games, Jail, player_effects, stay_inside and others I can't remember just now.

Thanks for the feedback. I'll add in /freeze to set their speed and jump to 0.
As for the groups, I'm unsure how that would be done. I'll leave that as is.
N/A
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Update 1.2

by wilkgr76 » Wed Feb 24, 2016 09:09

Update 1.2!
What's new:
- /freeze added
- Now gives a chat message when the command is executed
N/A
 

User avatar
Glorfindel
Member
 
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [1.2][admin_tools]

by wilkgr76 » Wed May 04, 2016 22:06

Glorfindel wrote:hahaha what a fun mod!

Glad you liked it ☺
N/A
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [1.2][admin_tools]

by wilkgr76 » Sat Jul 29, 2017 04:07

Update 2.0!

You can now specify multiple players like this:
Code: Select all
/freeze twoelk,wilkgr,silent_elk

to freeze all three.

Who knew this mod wasn't dead?
N/A
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [Mod] Admin Toys [1.2][admin_tools]

by ExeterDad » Sat Jul 29, 2017 05:27

wilkgr76 wrote:Update 2.0!

You can now specify multiple players like this:
Code: Select all
/freeze twoelk,wilkgr,silent_elk

to freeze all three.

Who knew this mod wasn't dead?

Frozen elk everywhere *gasp
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [1.2][admin_tools]

by wilkgr76 » Sat Jul 29, 2017 09:56

haha, silent_elk is my secondary account ;)
N/A
 

User avatar
Lone_Wolf
Member
 
Posts: 1980
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
 

IanniPowerup!!!
Member
 
Posts: 100
Joined: Wed Nov 29, 2017 17:33
In-game: IanniPowerup

Re: [Mod] Admin Toys [2.0][admin_tools]

by IanniPowerup!!! » Sun Jan 07, 2018 17:31

can it be set for like only 3 min ? I don't wanna freeze someone forever .
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [2.0][admin_tools]

by wilkgr76 » Mon Jan 08, 2018 01:09

Unfortunately, that isn't possible right now - you'll need to unfreeze the player/s manually.

(Let's see if I can figure out how to add a timer)
N/A
 

User avatar
Lone_Wolf
Member
 
Posts: 1980
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] Admin Toys [2.0][admin_tools]

by Lone_Wolf » Mon Jan 08, 2018 02:03

wilkgr76 wrote:Unfortunately, that isn't possible right now - you'll need to unfreeze the player/s manually.

(Let's see if I can figure out how to add a timer)

This might help viewtopic.php?f=9&t=19127
 

IanniPowerup!!!
Member
 
Posts: 100
Joined: Wed Nov 29, 2017 17:33
In-game: IanniPowerup

Re: [Mod] Admin Toys [2.0][admin_tools]

by IanniPowerup!!! » Mon Jan 08, 2018 16:54

wilkgr76 wrote:Unfortunately, that isn't possible right now - you'll need to unfreeze the player/s manually.

(Let's see if I can figure out how to add a timer)

hw do i unfreeze them then?
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
 

User avatar
orwell
Member
 
Posts: 718
Joined: Wed Jun 24, 2015 18:45
Location: Raxacoricofallapatorius
In-game: orwell

Re: [Mod] Admin Toys [2.0][admin_tools]

by orwell » Wed Jan 17, 2018 09:18

Suggestion: /balloon: set gravity to -0.1
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Admin Toys [2.0][admin_tools]

by wilkgr76 » Fri Jan 19, 2018 00:16

orwell wrote:Suggestion: /balloon: set gravity to -0.1

That is literally what /antigravity does:
https://github.com/wilkgr76/admin_toys/ ... it.lua#L12
Code: Select all
...
currplayer:set_physics_override({gravity = -0.1})
...
N/A
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 8 guests