Mods / Bunny's Server Utility

Category: #Utility
Author: FunnyBunnyofDOOM
Side: Server
Created: Aug 5th 2022 at 2:28 AM
Last modified: Jun 3rd 2023 at 3:24 PM
Downloads: 1609
Follow Unfollow 21

Latest file for Various v1.18.x:
bunnyserverutilities_v1.0.6.zip 1-click install


1.0.6 changelog-

  • Added optional /sethome costs
  • Added 0 as an option for playercooldown
  • Added Spanish and German
  • Fixed permissions so you can now use the "/player playername privilege grant commandnameadmin"
  • /tpt wipe - wipes out the TPT waitlist
  • /home limit - sets a limit of homes a player can save
  • /reply - allows you to reply to the last player to /dm you
  • If you have 1 home or the limit is set to 1 you can type just /home to teleport
  • If you have 1 home or the limit is set to 1 you can type just /sethome to set a home
  • /home delete <number> - delete the home in slot <number>
  • Tpt issues should be resolved, if not please comment or create an issue

Known Issues:
- Players with command privileges that aren't Admin will not see the "admin" command privileges in each commands /cmd help. This should be fixed in the next version.

-Translations don't seem to be working. This might be an issue with the changes I made to the modinfo file. Will look into this and release a bugfix.


Translation Credits: 
Mimarz, Shadowpotion

Important - use /importoldhomes upon install if your server previously used JustHome. This will import the homes from the justhome modconfig file.

This is a server-side mod. Bunny's Server Utility only needs to be installed on the server side. Each module can be enabled/disabled with a command.

Languages: English, Russian, Polish, Spanish, German - Please reach out if you'd like to help translate this mod for others. Feel free to reach out if any translations are incorrect.

General commands 

  • /bsu help - Get a list of all of the commands available to you
  • /bsu version - Get the version of Bunny Server utility

     Admin General Commands:

  • /removedeny playername - Removes a privilege denial from a player
  • /warn playername reason - adds a warning to a player that can be viewed by anyone with the warn privilege. 
    • privilege "warn"
  • /warn list - get a list of all players who have been warned
  • /warn list number - Specific player warning information from /warn list
  • /tpcost enable - enables teleport costs, players will have to pay for their teleports with the set item for each teleport
  • /tpcost disable - Disables teleport costs

Home Commands - [Enabled on default]

  • /sethome - set your current position as your home. Include a number if you have 1 or more homes
  • /home - return to your home point. Include a number if you have more than 1 home
  • /home help - get help information for /home
    • privilege "home"
  • /home delete number - Delete the home saved at the corresponding number

     Admin Home Commands

  • /home enable - enables the /home command
  • /home disable - disables the /home command
  • /home playercooldown  minutes - How long players must wait before using this command again
  • /home costitem - Sets the item that the TP will use as cost. You must use the game code: "game:gear-rusty", "modname:mod-item" 
  • /home costqty - Sets the number of the set item that must be spent to teleport
  • /sethome costitem - Sets the item that /sethome will use as cost. You must use the game code: "game:gear-rusty", "modname:mod-item" 
  • /sethome costqty - Sets the number of the set item that must be spent to set a home
  • /home limit number - set the number of homes the players may select

Back Commands - [Enabled on default]

  • /back - return to you last location of death or the last place you used a teleport command.
  • /back help - gets help for the back command

     Admin Back Commands

  • /back enable - enables the back command
  • /back disable - disables the back command
  • /back playercooldown - sets the minutes a player must wait between using this command
  • /back costitem - Sets the item that the TP will use as cost. You must use the game code: "game:gear-rusty", "modname:mod-item" 
  • /back costqty - Sets the number of the set item that must be spent to teleport

Group Random Teleport Commands - [Enabled on default]

  • /grtp - Teleport to a random location that changes periodically
  • /grtp - help for the grtp command

     Admin Group Random Teleport Commands

  • /grtp enable - Enables the grtp command
  • /grtp disable - Disables the grtp command
  • /grtp cooldown -How often GRTP location moves
  • /grtp radius - radius from world center that GRTP can teleport
  • /grtp now - Start to generate a new GRTP location now
  • /grtp playercooldown - Sets the minutes a player must wait between using this command
  • /grtp costitem - Sets the item that the TP will use as cost. You must use the game code: "game:gear-rusty", "modname:mod-item" 
  • /grtp costqty - Sets the number of the set item that must be spent to teleport

Spawn Commands - [Enabled on default]

  • /spawn - teleport to spawn
  • /spawn help - help for the spawn command

     Admin Spawn Commands

  • /spawn enable -enable the spawn command
  • /spawn disable -disable the spawn command
  • /spawn playercooldown - Sets the minutes a player must wait between using this command
  • /spawn costitem - Sets the item that the TP will use as cost. You must use the game code: "game:gear-rusty", "modname:mod-item" 
  • /spawn costqty - Sets the number of the set item that must be spent to teleport

 

Join Announce Admin Commands - [Enabled on default]

     Join announce broadcasts a welcome message when a new player joins

  • /joinannounce enable - enable join announce
  • /joinannounce disable - disable join announce
  • /joinannounce help - Help for the join announce mod

Rising Sun Admin Commands - [Disabled on default]

     Rising sun advances the time to configured Dawn time when a new player joins after configured Dusk time

  • /rs enable - enables rising sun
  • /rs disable - disables risinsg sun
  • /rs help - help for rising sun mod
  • /rs dawn - Set the time that RS advances the clock to at night
  • /rs dusk - Set the time that RS considers "night" and will advance to day

Private Message Commands - [Enabled on default]

  • /dm playername message - sends a message to the player
  • /dm help - help for private message
  • /reply - Reply to the last person to message you

     Private Message Admin Commands

  • /jpm enable - enable private messaging
  • /jpm disable - disable private messaging

Simple Server Messages Admin Commands - [Disabled on default]

  • /ssm enable - Enable the server broadcaster
  • /ssm disable - disable the server broadcaster
  • /ssm list - list all server messages
  • /ssm add message - Add a server message
  • /ssm remove num - remover message number num from the list 
  • /ssm frequency num - how often in minutes to broadcast the messages
  • /ssm now - Display the next message now
  • /ssm help - help regarding ssm

Teleport To Commands - [Enabled on default]

  • /tpt help - help for tpt command
  • /tpt playername - request to teleport to the player
  • /tpaccept - accept a teleport request
  • /tpdeny - deny a teleport request
  • /tpt playercooldown

     Teleport To Admin Commands

  • /tpt enable - enable teleport to
  • /tpt disable - disable teleport to
  • /tpt costitem - Sets the item that the TP will use as cost. You must use the game code: "game:gear-rusty", "modname:mod-item" 
  • /tpt costqty - Sets the number of the set item that must be spent to teleport
  • /tpt wipe - Wipes the TPT dictionary. Use this if a user is unable to /tpt

Bunny Bell Admin Commands - [Enabled on default]

     Bunny bell plays a tone when a player says your name in chat

  • /bb help - help for Bunny Bell
  • /bb enable - enable bunny bell
  • /bb disable - disable bunny bell

Random Teleport Commands - [Disabled on default]

  • /rtp - teleport to a random location
  • /rtp help - help for the rtp command

     Random Teleport Admin Commands

  • /rtp enable - enables rtp command
  • /rtp disable - disables rtp command
  • /rtp cooldown - how long the player must wait before using the command again
  • /rtp radius - the radius rtp can teleport you from the world center
  • /rtp costitem - Sets the item that the TP will use as cost. You must use the game code: "game:gear-rusty", "modname:mod-item" 
  • /rtp costqty - Sets the number of the set item that must be spent to teleport

Ironman Commands - [Enabled on default]

     Ironman disables all teleports, removes your gear and inventory, and teleports the player to a remote region. The days the player survives is added to a leaderboard.

Note: The ironman teleport is made for a default world. I will add configuration for non-default worlds with the next version update. 

  • /ironman - Starts the ironman mode
  • /ironman confirm - Confirms the ironman mode, removes your items and gear and teleports you to a new area
  • /ironman highscores

     Ironman Admin Commands

  • /ironman enable
  • /ironman disable

Other

  • The join message displays players online when you join the server. This can be disabled in the configs. A command for this will be included in the future.


See this mod in use!

Tested on 1.17.9

8.48.32.49 Port: 26638

 

If you like my mods please consider supporting us through Paypal!

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.6 430 Jun 3rd 2023 at 3:24 PM Show bunnyserverutilities_v1.0.6.zip Install now
v1.0.5 324 Nov 25th 2022 at 2:36 PM Show bunnyserverutilities_v1.0.5.zip Install now
v1.0.4 231 Oct 21st 2022 at 1:41 AM Show bunnyserverutilities_v1.0.4.zip Install now
v1.0.3 197 Sep 14th 2022 at 12:44 AM Show bunnyserverutilities_v1.0.3.zip Install now
v1.0.2 223 Aug 12th 2022 at 3:54 PM Show bunnyserverutilities_v1.0.2.zip Install now
v1.0.1 204 Aug 6th 2022 at 11:11 PM Show bunnyserverutilities_v1.0.1.zip Install now

34 Comments (oldest first | newest first)

💬 FunnyBunnyofDOOMAuthor, Apr 6th at 3:16 AM

Yes, I am planning to update to Net7. I apologize, I've been too busy but I am working on this again. It will take me a while to get this updated to .Net7 but this mod is my #1 priority. I apologize for the wait. I will look into breaking out the ironman mod. one of it's main features is to disable the teleports in this mod. so I'll have to think on how to tackle that.

Dapper: I'll work on that. I should be able to do that.

EightDigit
DapperDandy

💬 EightDigit, Oct 14th 2023 at 1:47 PM

FunnyBunnyofDOOM - any chance we'll be seeing an update for net7? Or perhaps a dedicated ironman specific mod?

💬 DapperDandy, Jul 19th 2023 at 6:31 AM

Would it be possible some time in the future to be able to name homes and then be able to list them? It would make it easier to remember which home goes where rather then numbers.

💬 Kree, Jul 15th 2023 at 8:11 PM

Doesn't load on .NET 7 :(

💬 Mendall, Jun 4th 2023 at 2:47 PM

oh, yes, so glad to have this back

💬 FunnyBunnyofDOOMAuthor, Jun 3rd 2023 at 3:26 PM

Sableye Sounds good! My next release was originally going to be an iron-man update release, but I may need to either push that back or combine it with the "bunny bell" update. I added more sounds and options to the bunny bell mod I'd like to add to BSU as well. I'll do my best to include both in the next release! 

Thanks for the support.

💬 Mendall, May 15th 2023 at 6:16 PM

FunnyBunnyofDOOM Thank you for the reply and all the great mods, and ill be glad to have this mod back.

💬 Sableye, May 14th 2023 at 2:32 PM

Hi Bunny, thanks for all your work for this mod! I love to see the multiple homes coming, that was on my own wishlist!

 

One thing I'd love to see with your modd is historical data added for the /ironman highscores - Right now if a player tries again, it resets their score to their current playthrough, and we want players to be able to compete against their old scores for better.

 

Thanks for the consideration! :) 

💬 FunnyBunnyofDOOMAuthor, May 11th 2023 at 11:57 PM

Mendall
I am working on an update curently. I am focused on bug fixes. I am currently 52% to the next release, and my release goal is before 5/26. Apologies for the wait. I am also working on a fix for the /tpt bug, but the /tpt wipe will be a stop-gap measure to try to help mitigate the issue.

Currently in the coming release:

1.0.6 changelog-

  • Added optional /sethome costs
  • Added 0 as an option for playercooldown
  • Added spanish
  • Fixed permissions so you can now use the "/player playername privilege grant commandnameadmin"
  • /tpt wipe - wipes out the TPT waitlist
  • multiple /homes
💬 Mendall, May 1st 2023 at 3:23 AM

@EightDigit thanks for the answer back,  glad It's still working

 

💬 EightDigit, Apr 30th 2023 at 8:01 PM

Mendall works just fine on my pub

💬 Mendall, Apr 23rd 2023 at 7:25 PM

Does Anyone know if this still works in 1.18 or if it is going to be updated?

💬 WickedSchnitzel, Apr 14th 2023 at 5:50 PM

And it seems tpt accept is broken, people are getting "an exception was thrown while executing command: the given key was not present in the dictionary"

💬 WickedSchnitzel, Apr 9th 2023 at 8:25 PM

I believe i have requested it before, but it would be neat, if we could disable /sethome so that /home only teleports to spawn spots that have been set with an temporal gear players have to work for/ to find first. FunnyBunnyofDOOM

💬 FunnyBunnyofDOOMAuthor, Jan 24th 2023 at 2:30 AM

Redcoughdrop If you are using the official VS servers, I don't believe they support mods yet, unfortunately. Hopefully that feature is added soon. 

💬 Redcoughdrop, Jan 24th 2023 at 12:55 AM

I've added the mod to my folder and it shows that it's there but when I try and run any commands in game  it says command unknown. Is there something that I'm missing? Thanks in advance :D

I'm not sure if it matters but I'm using the server rented on here.

 

💬 FunnyBunnyofDOOMAuthor, Jan 23rd 2023 at 12:27 PM

That is a strange one. I'll have to investigate this. Apologies for the crash. I'll make this and the other bug you've reported to me a high priority when I have the released I'm currently working on completed. 

💬 BoolyStudy, Jan 2nd 2023 at 12:58 AM

16:57:22 [Server Notification] Handling Command /tpt BoolyStudy
16:57:24 [Server Chat] gaio: <strong>gaio:</strong> ya
16:57:25 [Server Notification] Handling Command /waypoint addati pick =514887.860405843 =117 =509908.355744974 False #F47832 cobre
16:57:28 [Server Chat] BoolyStudy: <font color="#10ff00"><strong>[Donador]</strong></font><strong>BoolyStudy:</strong> bugaso
16:57:31 [Server Notification] Handling Command /tpaccept
16:57:31 [Server Error] Player BoolyStudy/wVqomuSy1Ogy/RgKcIzg9S2p caused an exception through a command.
16:57:31 [Server Error] Command: /tpaccept
16:57:31 [Server Error] Arguments:
16:57:31 [Server Error] Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <c453bf849bb84e719dbec0475e99db95>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00000] in <c453bf849bb84e719dbec0475e99db95>:0
at bunnyserverutilities.src.bunnyserverutilities.cmd_tpaccept (Vintagestory.API.Server.IServerPlayer player, System.Int32 groupId, Vintagestory.API.Common.CmdArgs args) [0x000a4] in <de4bd2163da04df58e0d160d89b5dd00>:0
at Vintagestory.API.Common.ServerChatCommand.CallHandler (Vintagestory.API.Common.IPlayer player, System.Int32 groupId, Vintagestory.API.Common.CmdArgs args) [0x00000] in <c45f8f9ae2e44e27810185f8d4839e5f>:0
at Vintagestory.Common.EventManager.TriggerChatCommand (Vintagestory.API.Common.IPlayer player, System.Int32 channelId, System.String command, Vintagestory.API.Common.CmdArgs args) [0x00045] in <f8e7e0ea709348ba8693d95fd255ff41>:0
at Vintagestory.Server.CoreServerEventManager.TriggerChatCommand (Vintagestory.API.Common.IPlayer player, System.Int32 channelId, System.String command, Vintagestory.API.Common.CmdArgs args) [0x00015] in <f8e7e0ea709348ba8693d95fd255ff41>:0
at (wrapper dynamic-method) Vintagestory.Server.ServerMain.Vintagestory.Server.ServerMain.HandleCommand_Patch1(Vintagestory.Server.ServerMain,Vintagestory.API.Server.IServerPlayer,int,string,string)
16:57:31 [Server Error] at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <c453bf849bb84e719dbec0475e99db95>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00000] in <c453bf849bb84e719dbec0475e99db95>:0
at bunnyserverutilities.src.bunnyserverutilities.cmd_tpaccept (Vintagestory.API.Server.IServerPlayer player, System.Int32 groupId, Vintagestory.API.Common.CmdArgs args) [0x000a4] in <de4bd2163da04df58e0d160d89b5dd00>:0
at Vintagestory.API.Common.ServerChatCommand.CallHandler (Vintagestory.API.Common.IPlayer player, System.Int32 groupId, Vintagestory.API.Common.CmdArgs args) [0x00000] in <c45f8f9ae2e44e27810185f8d4839e5f>:0
at Vintagestory.Common.EventManager.TriggerChatCommand (Vintagestory.API.Common.IPlayer player, System.Int32 channelId, System.String command, Vintagestory.API.Common.CmdArgs args) [0x00045] in <f8e7e0ea709348ba8693d95fd255ff41>:0
at Vintagestory.Server.CoreServerEventManager.TriggerChatCommand (Vintagestory.API.Common.IPlayer player, System.Int32 channelId, System.String command, Vintagestory.API.Common.CmdArgs args) [0x00015] in <f8e7e0ea709348ba8693d95fd255ff41>:0
at (wrapper dynamic-method) Vintagestory.Server.ServerMain.Vintagestory.Server.ServerMain.HandleCommand_Patch1(Vintagestory.Server.ServerMain,Vintagestory.API.Server.IServerPlayer,int,string,string) 

 

Bug helpme, tpt :(

💬 FunnyBunnyofDOOMAuthor, Dec 17th 2022 at 4:25 PM

Home is linked to /sethome. I can make another home that takes you to your temporal gear spot. Maybe I'll call it /gearhome or /homegear. Give me a few weeks to get that done, I am pretty busy at work and have lots of planned updates for my mods but I'll get it done for you. It's been requested before so I'm happy to add that.

For the trade-o-may, I'll have to test. I was able to use one of my modded items as a cost, so when I have time I'll try to do some testing with the coin and see if I can get that working. Thanks for the feedback! BoolyStudy

💬 BoolyStudy, Dec 16th 2022 at 4:20 AM

Help me about the mod trade, I'm wanting to add the use of mod trade coins to spawn but it won't let me, please help me how the command would be. I'm adding the command "/spawn costitem coin-copper" and it doesn't work, also putting " /spawn costitem Trade-o-mat:coin-copper" and it doesn't work, could you answer me saying how the command would be, please help me. FunnyBunnyofDOOM mods.vintagestory.at/show/mod/59

💬 BoolyStudy, Dec 3rd 2022 at 4:23 AM

hello in the next update could you put that when using /home it takes us to our point where we put the temporary gear?

💬 FunnyBunnyofDOOMAuthor, Nov 25th 2022 at 2:47 PM

WickedSchnitzel RogueRaiden
I've added the ability to set item costs for each teleport command. I've also added /cooldown and /cooldowns to check all your active cooldowns. Let me know if you have any issues!

Example to get costs for rtp:
/tpcost enable

/rtp costitem game:gear-rusty (/rtp costiem rocksalt:rocksalt)

/rtp costqty 1 (sets the cost to 1 item)

now when the player uses /rtp they will need to have one of the selected items in inventory.

In future releases I will add a command to set the cost item from your hand instead of using the item code, but that will come later. 

💬 RogueRaiden, Sep 18th 2022 at 12:18 AM

ahh, I didn't realize i had to run the "/jpm enable" command to get the "/dm" command to work, was thinking it had a config to enable. so that one is good :)

the temporal gear cost for teleport commands would be amazing actually haha

💬 FunnyBunnyofDOOMAuthor, Sep 17th 2022 at 2:12 PM

RogueRaiden Those error messages are fine. Even though some of those values aren't used, they are imporant for the structure. For example, every module has a "cmdname" so that I can add it to help or enable/disable functions without writing a whole new function and just passing the "cmdname". So even if it's not used, it still needs to stay in there. 

Join announce should send a message to every player when the user joins. I'm not seeing any issues on our server with it, but I'll troubleshoot and see if I can recreate your issue, or identify the cause.

Private message should always be on. I'll look into this. It should be /dm playername message and not /pm playername. The /pm command is part of the vanilla game and unfinished. Could I have your playerdata file so I can try to recreate these messages with your player's data?

Finally Bunny Bell is on my list of things to rework. I could not get volume to work, so I'm going to make selections of sounds that the user can select from, and a mute for each player. I'm also going to make a client-side add-on for the bunny bell that lets you use this feature on other servers while only installing the mod on your client. 

Thanks for the feedback and I'll try to get these things handled!

WickedSchnitzel

I'll work on making another module/command that the admin can set the locations for and costs temporal gears to teleport. Do I understand that correctly? 
Also, I love the /cooldowns idea. I'll try to get that into the next release. Thank you so much!

💬 RogueRaiden, Sep 16th 2022 at 12:41 PM

Also getting these warning in the server console

pastebin.com/ETEDBQ4u

💬 WickedSchnitzel, Sep 15th 2022 at 9:28 AM

Wil there be an option to disable /sethome and only allow /home (getting back to spawn points set with temp gears only) somewhere in the future? And here a suggesion from some of my players: a /cooldowns command that shows you the remaining time left on all cooldowns. FunnyBunnyofDOOM

💬 RogueRaiden, Sep 15th 2022 at 9:06 AM

Is the "Join Announce" supposed to send a message only to a new player, or send a message to everyone when a new player joins? Been using this and the message doesn't show to everyone, only the new player.

We were trying to use the "Private Message" part of this and the commands were not working. I dont see a toggle for it in the config either.

And is there a way the "Bunny Bell" could be disabled individually by a player? or would that require client side parts for the mod.

💬 FunnyBunnyofDOOMAuthor, Sep 14th 2022 at 1:03 AM

WickedSchnitzel I've added a cooldown timer to TPT. Also, I've created lang files for translation. if you'd like to change the messaging you can do so in the assets/lang/ folder of this mod.

💬 FunnyBunnyofDOOMAuthor, Sep 4th 2022 at 1:19 AM

WickedSchnitzel No need to apologize! Your feedback is extremely helpful. I will make sure to take some time to work on this as soon as possible. 

💬 WickedSchnitzel, Sep 3rd 2022 at 3:53 PM

Another thing: tpt does not seem to have a cooldown option. Sorry if i complain too much. I like your mod, but i would like to keep the gameplay survival. Teleporting around without a cooldown would be too casual. It's just a suggestion. FunnyBunnyofDOOM

💬 FunnyBunnyofDOOMAuthor, Sep 3rd 2022 at 12:35 AM

WickedSchnitzel I'm not seeing this issue in my live or test server. I'll do some more investigation and see if I can figure this out. Thanks!

💬 WickedSchnitzel, Sep 2nd 2022 at 9:38 AM

the /back command does not return players to their last place of death. anything i am missing? And it would be nice to be able to disable /sethome and only allow /home (getting back to spawn points set with temp gears only) FunnyBunnyofDOOM

💬 FunnyBunnyofDOOMAuthor, Aug 11th 2022 at 5:50 PM

Tested on 1.17.0rc5.

WickedSchnitzel  If you enable Rising Sun  before you join the world for the first time it should still work for admins. This only works the first time someone joins, so if you join the server, enable Rising Sun and rejoin, you will not be joining for the first time. I will also work on making a configurable feature that allows this to work every time a player logs into the world. 

💬 WickedSchnitzel, Aug 7th 2022 at 4:36 AM

The rising sun feature does not work. Not on my server at least. Or does it not trigger on admins? FunnyBunnyofDOOM

(edit comment delete)