Rewriting / Improving skript for $50

Status
This thread has been locked.

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
My server has been experiencing a lot off lagg.
I've been desparetly trying to fix this issue for the past 2/3 months. I've found no success and my minecraft server keeps growing.
Its probably skript causing the lag, this is a timings i recently took on my server.
https://hastebin.com/ebicoromib.vbs
This is the biggest skript i am using in my server its also the skript which needs to be rewritten / improved.
I have been looking for some one who can rewrite the skript some others have tried this already but because the language used in the skript is Dutch they didn't come so far. So if your dutch and your think you can do this please also contact me.

Edit:
Making this in java is also an option.

My budget for rewriting / improving the skript is $50

You can see the skript in action here:
The ip of my server is: KingdomServer.nl
Avarage players: 60
Website: KingdomServer.nl

Some features:
Clan Homes
Your Clan probably will need a home, if your Clan is far from the spawn
Clan Custom Prefix
In chat displayed a prefix of your clan and your own role in it
Disband your Clan
You can get rid of your clan if you wanna to
Promote / Demote Player
Set the player's role
Clan Ranks
You can be Member, Admin and Leader
Territory System
Have you built a base and you want to keep it safe?
That's why the plugin has custom territory system.
Scoreboard stats
Custom scoreboard data
GUI Manager
A "modern" GUI that there you can set the Clan settings. Like a real control panel.
Ally System
Your Clan can make an ally with another clans and with your other friends!
Tab Clan prefixes - NEW
Tap TAB to see the players' clan prefixes.
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Ghast

Founding Father of Hypocrisy - https://artemis.ac
Supreme
Feedback score
54
Posts
2,096
Reactions
3,285
Resources
79
My server has been experiencing a lot off lagg.
I've been desparetly trying to fix this issue for the past 2/3 months. I've found no success and my minecraft server keeps growing.
Its probably skript causing the lag, this is a timings i recently took on my server.

This
is the biggest skript i am using in my server its also the skript which needs to be rewritten / improved.
I have been looking for some one who can rewrite the skript some others have tried this already but because the language used in the skript is Dutch they didn't come so far. So if your dutch and your think you can do this please also contact me.

My budget for rewriting / improving the skript is $50

You can see the skript in action here:
The ip of my server is: KingdomServer.nl
Avarage players: 60
Website: KingdomServer.nl
It would take more time to re-write this than code this in Java. Here are a few java developers who can possibly re-create this: Cloth subbotted root
 

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
It would take more time to re-write this than code this in Java. Here are a few java developers who can possibly re-create this: Cloth subbotted root
Most people said that making this in java would be a lot harder.
 
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)

root

Supreme
Feedback score
30
Posts
655
Reactions
309
Resources
0
Java is better than Skript, you java doesnt lag and Skript do.
I shall translate that into english <3 Jokes just so people understand it.
Java is more flexible and does not lag as much as skript due to conversions.
 

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
May you please explain what it is and what you actually need?
First you have to know my server is mainly based on rollplay and the only way to destroy claimed land is during the custom war system.
Also, keep inventory is always on except for factions whose are in war.
The gamemode is called "Kingdom" so please use the word kingdom for the plugin name etc.
Ok here we go :p :
It is a sort off faction plugin, it has:
  • land claiming (Also /f map or something to see claims around you.) (Also radius claiming and /f unclaim all)
  • seeing a factions information (I prefer to see this in a gui because thats how it is rn)
  • managing your faction in a gui
  • creating, joining, leaving, kicking... etc
  • When you walk into some ones land there needs to be a title in your screen with the faction name Click here
  • Ally's enemy's neutral (This doesn't have to block commands in enemy territory like the faction plugin does)
  • Some way like /f admin to unclaim or claim some land and other admin management.
  • Chat system, 3 options: public, ally or faction
  • all the messages need to be dutch (I don't need a config source code would also be ok so i can translate the messages)
  • Faction homes
  • There need to be 5 ranks: (The rank names are in dutch) Rekruut (Recruit), Inwoner (Member), Generaal(General), Hertog (Officer), Koning (King / leader)
  • Sort off /f title (You can give players in your faction titles like "Farmer" these titles need to be showed when the person chats and the title replaces the default ranks (Mentioned above) when the person chats)
  • Admins can set the color / colors of a faction which will be displayed when a member off the faction chats.
  • There also need to be something like safezone and warzone for the spawn, shop etc
  • The faction name needs to be displayed before the players name in tab

War system:
So the war system, a faction can only be attacked once every 3 days and a faction can only declare once every 3 days.
The condition for a faction to declare are there need to be 3 or more players online of the faction they are declaring war to.

When a war is declared there will be broadcasted that a war has been declared then there is a 10 min prepare time
The players of bove factions will be updated every minute with a title in there screen about how mutch time there is left.
At the last minute before the war there will be a title at 30 sec and a countdown from last 10 second to 0 then there will be broadcasted that the war between the 2 factions started.
Then the land off the defending faction will be raidable for the attacking faction.
And keep inventory go's off for bove factions.
The attackers get teleported to the land off the defending faction (By like teleporting them 100 blocks away from the /f home off the defenders)
Then there will be a 15 min war time And each 5 minutes bove factions will be shown a title with how mutch time there is left before the war ends.
And then the last minute there will be shown a title with the how mutch time there is left and the last 10 seconds will be counted down.
after the war has ended the attackers will be teleported to the spawn and keep inv go's back on for bove factions and the land of the defending faction gets unraidable again.
And there will be broadcasted that the war between the 2 factions has ended.

Maybe if you wanna do this you can use the faction plugin as a fundamental? (They have a github page)

Ghast Are you still sure about your message?
It would take more time to re-write this than code this in Java.
 
Last edited:
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
It's the on any movement event that's causing your server to lag. Once I am on my computer I will figure a out a way to not have to use that event. The chances are slim and your best chance is to have this recreated in Java. Skript is meant to be used in a such smaller scale where efficiency wouldn't need to come into play. This was definitely over the top and a bad idea to create this in Skript.[DOUBLEPOST=1498316143][/DOUBLEPOST]
It's the on any movement event that's causing your server to lag. Once I am on my computer I will figure a out a way to not have to use that event. The chances are slim and your best chance is to have this recreated in Java. Skript is meant to be used in a such smaller scale where efficiency wouldn't need to come into play. This was definitely over the top and a bad idea to create this in Skript.
I took a look and you're using that event to check the chunk the players in. A good alternative you can use is the on chunk change event because when you call the on any movement, that whole code keeps getting called for no reason. You can simply replace "on any movement" to "on chunk change". I don't guarantee this will work but you can give it a try.
 
Last edited:

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
It's the on any movement event that's causing your server to lag. Once I am on my computer I will figure a out a way to not have to use that event. The chances are slim and your best chance is to have this recreated in Java. Skript is meant to be used in a such smaller scale where efficiency wouldn't need to come into play. This was definitely over the top and a bad idea to create this in Skript.
Did you make that up out off the timings or out off the skript?
I already improved the on any movement event allot first it was like 10 times worse but i took a new timing with this new improvement but i can't really see a difference between the 2 timings.
Here is the new timings:
https://timings.aikar.co/?id=d2900306ad8b413eb2bc495ecfde01d8
 
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
Did you make that up out off the timings or out off the skript?
I already improved the on any movement event allot first it was like 10 times worse but i took a new timing with this new improvement but i can't really see a difference between the 2 timings.
Here is the new timings:
https://timings.aikar.co/?id=d2900306ad8b413eb2bc495ecfde01d8
You really don't need to be using the on any movement event.. All that code in there is to just check the chunk the players in.. Why would you need to check the chunk if the player walks one block when you can check it when you know the players does change chunks?
 

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
You really don't need to be using the on any movement event.. All that code in there is to just check the chunk the players in.. Why would you need to check the chunk if the player walks one block when you can check it when you know the players does change chunks?
There isn't a event for that.
Edit:
Only LargeSk got this event but largeSk doesn't get updated any more and is not compitable with 1.8
 
Last edited:
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
There isn't a event for that.
Edit:
Only LargeSk got this event but largeSk doesn't get updated any more and is not compitable with 1.8
Yeah I just realized that. The timings are indicating that skript commands are causing most of the lag. And I really don't think you can compress or optimize any of that code unless it is rewritten in Java. I apologize.[DOUBLEPOST=1498316931][/DOUBLEPOST]
Yeah I just realized that. The timings are indicating that skript commands are causing most of the lag. And I really don't think you can compress or optimize any of that code unless it is rewritten in Java. I apologize.
EDIT: How large is you .yml file by the way?
 
Last edited:

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
Yeah I just realized that. The timings are indicating that skript commands are causing most of the lag. And I really don't think you can compress or optimize any of that code unless it is rewritten in Java. I apologize.
I really appreciate you tried to help me <3
 
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
I really appreciate you tried to help me <3
It honestly would of probably been better to use list variables instead of all that yaml crap. A .csv has proven to hold millions of variables at ease.
 

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
It honestly would of probably been better to use list variables instead of all that yaml crap. A .csv has proven to hold millions of variables at ease.
The original skript maker replaced the variables with yaml he said that it was because the variables would get overwritten
 
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
The original skript maker replaced the variables with yaml he said that it was because the variables would get overwritten
Not if he used list variables. yaml is definitely not meant to be used in storing that much data.
 

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)

sandor

Banned
Feedback score
7
Posts
270
Reactions
48
Resources
0
Banned forever. Reason: Creating Multiple Accounts (Luann, https://builtbybit.com/members/luann.150033/)
Status
This thread has been locked.
Top