Jump to content

Very Simple RPG Class Skript


EdgySedgy
 Share

Recommended Posts

Hey so, I'm a simple person.
So for all those simple mates out there, I got you!

This also will work off GroupManager if you want it to change Groups/Ranks when going to the classes...
If you don't want that, then just remove the line that says
make console execute command "/manuadd %player% Beast/Human/Elf"

Also if you want a menu skript to go with this, tell me and I'll make a new topic WITH the New Skript

In here will also show how you can change the effects or add your OWN class...
although it should be pretty simple if you just.... look

 

 

command /beast:
 trigger:
  make console execute command "/effect clear %player%"
  wait 5 ticks
  make console execute command "/effect give %player% strength 99999 0 true" 
  make console execute command "/manuadd %player% Beast"




command /human:
 trigger:
  make console execute command "/effect clear %player%"   
  wait 5 ticks
  make console execute command "/effect give %player% resistance 99999 0 true"
  make console execute command "/manuadd %player% Human"




command /elf:
 trigger:
  make console execute command "/effect clear %player%"   
  wait 5 ticks
  make console execute command "/effect give %player% regeneration 99999 0 true"
  make console execute command "/manuadd %player% Elf"



How To Change The Skript To Your Liking

 

Copy one of the paragraph of the skript and paste it
(command /elf:)
 trigger:
  make console execute command "/effect clear %player%"
  wait 5 ticks
  (make console execute command "/effect give %player% strength 99999 0 true") 
  (make console execute command "/manuadd %player% Beast")



All that's in () you will need to edit.
where it says "strength/resistance/regeneration" you will want to change it to WHATEVER effect you want it to.
If you want to add multiple effects, then copy that one line
"make console execute command "/effect give %player% strength 99999 0 true"
and paste it under that same line you copied it from.

Now, if you want to change the command that triggers the class, you edit the
"command /elf:"
Make the "elf" say ANYTHING you want, it will become that command.


Now if your using groupmanager, change "Beast/Elf/Human" to whatever the group you created called.
EX:
/mangadd Jeff
make console execute command "/manuadd %player% Jeff"

 


Link to comment
Share on other sites

Not really sure if this is an authentic "class" experience, as if a player dies they would keep their rank and lose their effects. Not really sure how this could be useful other than sparking someone's interest in starting an mmo/rpg server.

Regardless, thanks for your contribution!

  • Thanks 1

First Joined: July 2015
VIP: January 2020
Jr.Mod: 1st April 2020
Mod: 16th July 2020

Info:

~ Skript Developer
~ Discord: @nicholxs#0001
~ Previous names: Nichxlxs, Deterno, iHaveSkills, Retrical

Link to comment
Share on other sites

Why so many console commands? Most of the commands can be done using skript.

Support  July 29, 2020 → November 3, 2020

► Helper November 3, 2020 → February 22, 2021

► Moderator February 22, 2021 → May 17, 2021

 I might not always respond to forum dms, however I am always contactable on discord (mig#0069)

Screen Shot 2020-03-20 at 5.23.33 pm.png

Link to comment
Share on other sites

On 5/21/2020 at 12:51 AM, EdgySedgy said:

Hey so, I'm a simple person.
So for all those simple mates out there, I got you!

This also will work off GroupManager if you want it to change Groups/Ranks when going to the classes...
If you don't want that, then just remove the line that says
make console execute command "/manuadd %player% Beast/Human/Elf"

Also if you want a menu skript to go with this, tell me and I'll make a new topic WITH the New Skript

In here will also show how you can change the effects or add your OWN class...
although it should be pretty simple if you just.... look

 

 


command /beast:
 trigger:
  make console execute command "/effect clear %player%"
  wait 5 ticks
  make console execute command "/effect give %player% strength 99999 0 true" 
  make console execute command "/manuadd %player% Beast"




command /human:
 trigger:
  make console execute command "/effect clear %player%"   
  wait 5 ticks
  make console execute command "/effect give %player% resistance 99999 0 true"
  make console execute command "/manuadd %player% Human"




command /elf:
 trigger:
  make console execute command "/effect clear %player%"   
  wait 5 ticks
  make console execute command "/effect give %player% regeneration 99999 0 true"
  make console execute command "/manuadd %player% Elf"



How To Change The Skript To Your Liking

 


Copy one of the paragraph of the skript and paste it
(command /elf:)
 trigger:
  make console execute command "/effect clear %player%"
  wait 5 ticks
  (make console execute command "/effect give %player% strength 99999 0 true") 
  (make console execute command "/manuadd %player% Beast")



All that's in () you will need to edit.
where it says "strength/resistance/regeneration" you will want to change it to WHATEVER effect you want it to.
If you want to add multiple effects, then copy that one line
"make console execute command "/effect give %player% strength 99999 0 true"
and paste it under that same line you copied it from.

Now, if you want to change the command that triggers the class, you edit the
"command /elf:"
Make the "elf" say ANYTHING you want, it will become that command.


Now if your using groupmanager, change "Beast/Elf/Human" to whatever the group you created called.
EX:
/mangadd Jeff
make console execute command "/manuadd %player% Jeff"

I'd like to say sorry but uhmmm if you wanted to you could literally use all of them and it wouldn't block you using all the commands you should add a restriction to this like if the player is a normal member so lets say permission N for normal / Newcomer you could make it so if player has the permission N they could use one of the commands and it would add the Name of the class to their permission group so they couldn't use all of them because it would remove the N permission so they could only use one of them.

But as you said "This is only a simple skript" / if you had someone or a friend that could also skript im betting on it you could make a RPG on minehut with skript 


 

Link to comment
Share on other sites

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
 Share



×
×
  • Create New...