Jump to content

How to set up private messaging with Skript


UntitledGoose

Recommended Posts

M I N E H U T  C O M M U N I T Y  F A Q

HOW TO MAKE PRIVATE MESSAGES WITH SKRIPT

REQUIREMENTS: Skript
DIFFICULTY: MEDIUM

Introduction:

Skript is a great way to make your server on Minehut, you can do almost anything with it. An example is a private messaging system, which will be focused on here.

How to set up private messaging:

To set up private messaging with Skript, you can use the Send Effect in a custom command. Here's a basic example:

command whisper <player> <text>:
    trigger:
        send "%player% whispers to you: %arg-text%" to arg-player
        send "You whispered to %arg-player%: %arg-text%" to player

Here we have two arguments, <player> and <text><player> is the user that you want to send a message to, and <text> is what you want to send to said user.

You can customize the "player whispers to you:" and "You whispered to player:" text with color codes like '&a', and hex codes like '<##ff5555>'. You may customize it however you like.

If you want to add aliases to the command, you can put 'aliases: /alias-name' before the trigger of the command.

Note that you cannot use /msg or /tell, because those commands are occupied by Minehut's private messaging system.

Require further assistance?:

If you need more help on this topic, head over to this section of forums, or join our Discord!

📎  https://youtu.be/XfXo4SJDbiQ

Compiled by the Minehut Staff Team

  • Thanks 1

VIP since January 7th, 2020

Support since September 19th, 2020

Helper since November 3rd, 2020

Moderator since March 8th, 2021

unknown.png

5.png.e14b1bf83edf0ac2edc1bfb822177184.png

image.png.fe30b7b2c0be5a541ba4ed2187b23030.png

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

I'd say this is easy and not medium for starters.

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

22 hours ago, ES63 said:

I'd say this is easy and not medium for starters.

Not everyone knows how to use Skript. I'd say it's about medium difficulty though even assuming the reader has basic knowledge of Skript.

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

  • muelr changed the title to How to set up private messaging with Skript

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...