Jump to content
Igor Q.

Server Mod Pack

Recommended Posts

Hello everyone, this will become the official thread (and support thread) for the server mod pack! This project will be open source to help players learn some coding as well as help people set up pain-free servers.

https://workshop.ylands.com/asset/2218

Where to get it:

To obtain the Server Mod Pack go to

image.png.8bc04ebbaecb8db6c1015e975d7cbab9.png

Please note to be careful with conflicting Player Roles and Player Spawn Points you may have on your map when placing this composition down.

Step 1 - Finding Player Login History

To see all players that logged in or out of the game use the levers provided (they can be duplicated) OR use the "Show Ask Player" logic.

image.png.1d2ac1ea8403b5aa18d053e1cd3685e2.png

image.png.59cdcab6f2e31d061a9a9e8a62ac598f.png

In-game when you open this up, it will prompt you for a page number, it will always order the login times from the most recent to the oldest.

Each "page" will contain 20 entries, and will display something like this.

image.png.afff4beeb25b1a9dc9742829f0a03388.png

Please notice the green X beside the player. Clicking on this will Ban that specific player.

image.png.97ccdc2d2c692bc885abbf271c86f6f2.png

By default, the instruction will only kill the player and set their rank to 0. (The lowest rank)

Step 2 - Unbanning Players

All players that are banned can be seen on the ban list by using the lever, or opening the related "Show Ask Player" logic

image.png.5abf1264548891927ae736a9223e1322.png

Please notice the keys beside the player. Clicking on this will unban that specific player.

Step 3 - Exporting Ban List

If you want to export your ban list use the "Export Ban List" Lever or use the "Export Blacklist List Names"

image.png.26b33ebcf2a97bc3384b67bc69bde53a.png

This will output every banned players name to "log_userscript" text file

image.thumb.png.1a5ca80e1705b1c72d5810d46baa8675.png

Inside when you scroll inside the file you will find this

image.thumb.png.d5fbf2de51e284a13c680be9e371c97a.png

This will be the name of every player that has been banned on your current live server.

Please note: This list will NOT include any players that are banned that have never joined the game.

If you want to import a banlist simply go into

"Player Ban Instructions" and paste the playerlist inside.

image.thumb.png.e51cb5965f817550d62c1ad97dff4b49.png

Step 4 - Understanding "Player Ban Instructions"

This box will enable tracking all players that login, logout, are banned, as well as certain rank features.

Inside you will see this

image.thumb.png.9a7d61ee3a342031b62739c5f9a050d7.png

1)
- Players can only ban players with a lower rank.
- Rank 0 = Banned
- Use "Player Rank" (the blue box) to set a players rank.
- By default, all players spawn with rank 1.

2/3)

You can put your own logic in "Ban Effects"
such as move them, kill them, etc
Make sure you undo any effects in "Unban Effects"

4) This allows you to import a ban list that you saved.

Step 5 - idgun

The idgun is a useful feature to know who built something.

To spawn one simply type //idgun

Simply shoot an object and if it was made by a player, it will show a text with the owners name.

image.png.b0ebbdac08d8badb5dbd3a2aba197d85.png

Step 6 - Blueprint Requirements

Due to the destructive nature of blueprints if left unchecked, a rank requirement is set for all Blueprints made.

Please take a quick glance inside "General Instructions"

The green box which says "Rank Requirement Player" is the box which specifies the players minimum rank needed in order for them to build a blueprint. If they do not have that rank, the blueprint de-spawns automatically.

image.thumb.png.0d390165720996d00ae4f93e7b143b92.png

Step 7 - User Interface

A user interface has been developed and it's associated logic's are found within these 6 tiles.

image.png.cdb27436dbee9cea31e7b8eb7af07492.png

The user interface will be a means of easy access functions to casual players.

//user

//mod

//admin

These commands will access the functions associated with that rank level. Default Admin as Rank 4, Mod as Rank 3, and User as Rank 1 and 2.

Although the interface will allow the player almost all functions, it will not contain all of them.

For instance, any function which targets offline players (excluding login list & ban list) such as teleporting players must be done exclusively with a console command.

 

Below is an example of opening the mod user interface. The current version will list these options (and is subject to change in future version)

image.thumb.png.b5fed7fe7f93f5d83ada27a7b5d8ed96.png

Clicking on any of the available tiles will allow the player to perform functions associated that tile.

Step 8 - Teleport

The teleport command, accessed through the //mod can be used to select any player that is online and teleport them to any other player that is online. If no "target" is selected, it will default teleport to the input coordinates (default value 0,0,0)

Please note that you may select MULTIPLE players and teleport them to one location.

Admin's have access to create "Teleport Points" which will appear on the right side and serve to be used as a daily use, such as teleporting to a market place zone, a pvp arena, or etc.

image.thumb.png.275074306fe18391f086793620c565ea.png

An Admin can set a new teleport using the "Set Teleport Point" tile

image.thumb.png.a25fbaf16a48ab3ee6ea530ea4685e01.png

That's all for now, as I work more on this, more things will be added!

Edited by Igor Q.
  • Like 2

Share this post


Link to post
Share on other sites

I had a thought about mod features.  (I would have responded in Discord but I'm at work.)  You might already have something that does this, and since I haven't run a server myself (yet) I'm just guessing at how useful it would be.

So the admins would already have a creator cube they can use to spawn items as needed, which covers most needs.  How about a command to randomly spawn resources in bulk?  I'm thinking they could go to a location, set a distance from their position (radius), choose a resource (such as sticks, rocks, flint, or certain plants) and set an amount, then the script would use Raycast to spawn that many randomly within that area all at once.  To prevent it from spawning in water, it could restrict to only Y>0.

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×