[Mod] Admin Toys [2.0][admin_tools]

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

[Mod] Admin Toys [2.0][admin_tools]

by wilkgr76 » Post

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/archive/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: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Post

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: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Post

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

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

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

by BBmine » Post

Nice! +1

Admin gets to grief the players. :D

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

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

by wilkgr76 » Post

BBmine wrote:Nice! +1

Admin gets to grief the players. :D
Grief the griefers. :)
N/A

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

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

by Martno » Post

:D
Cool!

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

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

by azekill_DIABLO » Post

nice +1 !!

i will annoy so much people with that!! (i'm kidding guys)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

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

by wilkgr76 » Post

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: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

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

by twoelk » Post

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: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Post

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: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Update 1.2

by wilkgr76 » Post

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

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

by Glorfindel » Post

hahaha what a fun mod!

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

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

by wilkgr76 » Post

Glorfindel wrote:hahaha what a fun mod!
Glad you liked it ☺
N/A

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

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

by wilkgr76 » Post

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
In-game: ExeterDad
Location: New Hampshire U.S.A

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

by ExeterDad » Post

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: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Post

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

User avatar
Lone_Wolf
Member
Posts: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

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

by Lone_Wolf » Post

Awesome mod!
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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

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

by wilkgr76 » Post

Thank you :)
N/A

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

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

by IanniPowerup!!! » Post

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

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

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

by wilkgr76 » Post

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: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

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

by Lone_Wolf » Post

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
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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

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

by IanniPowerup!!! » Post

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: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Post

You can use /reset <playername>
N/A

User avatar
orwell
Member
Posts: 958
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

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

by orwell » Post

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: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

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

by wilkgr76 » Post

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

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests