Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MegaStar

Pages: [1] 2 3 4 5 6 7 8 9 10 11 ... 28
1
the cute lil workshop / [SCRIPT] helpban.py
« on: July 26, 2018, 05:58:42 PM HST »
This script may be helpful, the purpose of this command is to make it easier to ban a player during a certain time, usually the "/ban" command takes the "time" through the minutes, so 1 day will be " 1440 ", 2 months would be" 87600 ", 1 week" 10080 "etc.

Commands:
- /mban [#player ID or nick] [format time] [reason]
- /checkban [ip]


- The /mban command has special characters:

p = permanent ban
m = ban for months
w = ban for weeks
d = ban per days
h = ban by hours
t = ban per minutes (I do not think this is necessary but I also put it in case someone needs it)

Permanent ban
- In case you want to ban a player permanently you will only have to use the following format:

/mban [player] [p] [reason]

For example:

/mban #2 p esp/ab

Ban per months
- If you want to ban a player either for 1 month or more you should use the following format:
/mban [player] [number of months / m] [reason]
For example (ban for 2 months):
/mban MegaStar 2m for being cool

Ban per weeks:
- If you want to ban a player either for 1 week or more you should use the following format:
/mban [player] [number of weeks / w] [reason]
For example (ban for 1 week):
/mban #2 1w superjump

Ban per days:
- If you want to ban a player either for 1 day or more you should use the following format:
/mban [player] [number of days / d] [reason]
For example (ban for 3 days):
/mban #2 3d evasion/esp

Ban per hours:
- if you want to ban a player either for 1 hour or more you should use the following format:
/mban [player] [number of hours / h] [reason]
For example (ban for 5 hours):
/mban #3 5h griefer


Ban per minutes
- If you want to ban a player either for 1 minute or more you should use the following format:
/mban [player] [number of minutes / t] [reason]
For example (ban for 30 minutes):
/mban #3 30t votekick abuse

- When a player is banned, the script will send a message to all administrators saying that the "player" has just been banned by "name of the admin/guard/etc" for "duration of the ban" with the reason of "reason of the ban"
Example:
"MegaStar was banned by MoDeR for 2 months with the reason of: for being cool"

Checkban
- Each ban that is done with the command /mban, in a file called "banformat.json" will be saved the following data of the banned player:

- Nick of the banned player.
- IP of the banned player.
- Reason why he was banned.
- The day and time he was banned.
- Nick of the admin/mod/guard/etc that gave ban him.
- For how long was he banned.


To use the command you should only use command /checkban [ip], for example:

/checkban 233.233.122.23

IGN: MegaStar
Ban duration: 2 months
Reason: for being cool
Ban date: 2018/07/26 [20:35]
Banned by: MoDeR

Optional

- Usually when someone bans a player with the command "/ban", in the global chat everyone can see the data of the ban, for example:

PabloEscobar was permabanned: esp/aimbot
MegaStar was banned for 999999 days, 19 hours, 59 minutes

- In this script that can be configured, when you use the command "/mban" and you want that in the global chat nobody can see the data of the ban does and only show the message "was banned." for example: "MegaStar was banned", you must open the script and in line #19 "TOGGLE_GLOBAL_MESSAGE = True" you must change the True and set it False => TOGGLE_GLOBAL_MESSAGE = False

- For default I have put it in False.
- The /mban command can only be used within the game.
- The command /checkban can be used within the game and through the console (run)
- Make sure you download the file "banformat.json" and put it inside your dist folder (dist/banformat.json)

Any questions you have, just put your question on this topic, thank you.

2
the cute lil workshop / [GAME MODE] versus
« on: June 10, 2018, 06:54:09 PM HST »
Game mode: Versus

Commands:
- /versus <player> <number of kills (default is 20)>
- /accept <player>

- To challenge a player you should use the command /versus <name or #ID> <number of kills> (example: /versus #2 30)
- Once you challenge a player, that player will receive a message saying that you are challenging them.

- When you want to accept a versus, you must put /accept <player> (example: /accept #1), when you accept the challenge, all the players that are in the server will automatically join the spectator team at the exception of you and the challenger.
- Those who are in the spectator team will not be able to join any team and will not be able to use the /versus or /accept commands until the versus is over.

- When you accept the versus, you and the challenger will join a random team, either blue or green (this is to avoid if both the challenger and you are on the same team)
- There will be a count remain of 5 seconds, when reaching 0 a message will be sent saying the following:


"The versus (your nick) and (nick of the challenger) have started!"
"The player who reaches (maximum kills to win the versus) kills is the winner!"

- The script every 30 seconds will show the current kills of both players:

"(Player (nick of the challenger): kills: (kills of challenger)) --- (Player (your nick): kills: (your kills))
"Goal of versus: (maximum kills to win the versus) kills!"


- When a player is the winner, the script will send a message saying:

"(nick of the winner) is the winner!"
"#########"
"######"
"###"

- When finishing the versus again the team's will be unblocked and it will be possible to start again a new versus.
- When a player, whether you or the challenger, leaves while the versus has not ended, a message will be sent saying that the Versus has not ended for the reason that the (player) retired while the Versus had not yet finished and everything will be unblocked again so the players can choose a new versus again.

- The players will not be able to kill, destroy and build, all this will be enabled only when a versus has started therefore only the players of that current "versus" will be able to build, destroy and kill, everything will be disabled when the versus has finished.

Demonstration:



Perfect maps for this game mode, they would be assault and pinpoint, you can also use small maps.

3
the cute lil workshop / [SCRIPT] Build
« on: June 08, 2018, 04:10:38 PM HST »
Game mode: Build
There are no killings, only construction (the name says it :P)
There is a glitch in which is that you can destroy unbreakable blocks (I will not say how it is done) but in this script that glitch/bug does not work.

Commands:
/claim: Claim a sector (you can only claim 1)
/sector: If you are far from your sector and want to teleport to your sector, just use this command.
/removeclaim <player>: (only for administrators)
/ask <player> <question (optional)>: Ask the player if you can destroy their blocks.
/allow <player>: Allow a player to destroy your blocks.
/remove <player>: Revoke the player's permission so that he can no longer destroy your blocks.


/claim:
How to use it: You must put the command /claim and choose the place where you want to have your sector, if you want to choose the color of your sector you should only change the color of the block you have, once you have chosen the place and the color only you should hit the block that is at your feet.
-The claim will not work if you choose a sector that is in the range of another sector, you must ecoger a good sector.
-The default of the size of a sector is 20x20 cubes, no one can place or destroy any block that is within your sector (claim) either up or down (it could be said that your sector has the shape of a perfect quadrangular prism)
-If any player has permission to destroy your blocks (/allow), anyway he will not be able to place or destroy any block in your sector since the sector is only for you but  he can break your blocks that are outside your sector.

-If you want to change the size of the sector per player (I do not recommend it) you must open the script and in line #15 (RANGE_CLAIM = 10) you must keep in mind that the number you put in RANGE_CLAIM will be multiplied by 2, suppose that you put 15:
RANGE_CLAIM = 15
therefore the sector size per player will be 30x30 blocks (cimetric base).

/sector:
How to use it: You must put the command /sector and you will automatically teleport to your sector, this can be useful if you are in another place and want to return quickly to your sector.

/removeclaim:
How to use it: You must put the command /removeclaim <player name or #ID> (example. /removeclaim MegaStar)
-This command will allow you to remove the sector of a player, keep in mind that when removing the sector of a player, that player can choose a sector again.
-If the <player> does not have any sector, the command will not run and the script will send you a message saying "the player (player name) does not currently have a sector."
-This command can only be used by administrators.
-If the sector of the <player> is removed successfully, that sector will count as null, therefore they will be able to build and destroy since the sector will not exist.

/ask:
How to use it: You must put the command /ask <player name or #ID> <question (optional)> (example: /ask # 2 can I help you?)
-If nothing is passed in <question> the default question will be "can I destroy your blocks?".
-When the command is used, the <player> will receive that message and decide if he will let you destroy his blocks.

/allow:
How to use it: You must put the command /allow <player or #ID> (example: /allow MegaStar)
-If the <player> currently already has permission to destroy your blocks, the script will send you a message saying "The player currently has the permission to destroy your blocks."
-When a player asks you something with /ask, to accept it you only have to put /allow <player name or #ID> and automatically the player can destroy your blocks.

/remove:
How to use it: You must put the command /remove <player or #ID> (example: /remove # 2)
-This command will allow you to remove the privilege to a player who previously you gave him the permission (/allow) to destroy your blocks.
-If the <player> currently does not have permission to destroy your blocks, the script will send you a message saying "The player (player name) can not currently destroy your blocks."

/fly:
-To activate/deactivate the flight

Demonstration:


Consider the following:
-You can only destroy your blocks and the blocks of the player who gave you permission (/allow)
-You can not destroy blocks that are in other sectors (only administrators can do it)
-You can not claim more than 1 sector.
-When you choosing a sector, the area of ​​the sector will be painted with color of the block you are using.
-You have infinite cubes
-The weapons, grenades and spade do not cause damage.
-You can not kill.
-Grenades can not destroy blocks.

I modify some scripts a bit, so they can work with this script.
-The paint.py script was modify it so that you can only paint your blocks, you can not paint the blocks of other players or the blocks of the map. (use it plz)
-The sculpt.py script will only allow you to destroy the blocks of the map, yours and those of your sector, if a player gave you permission to destroy their blocks (/allow), you can also destroy their blocks with the sculpt.

Caution:
-I recommend that the commands: /box, /db, /df, /dw and /wall should only be used by the players that are trustworthy to you, this will avoid the misuse of commands.
-I will put the map I am using in the video (the map is great for a build server) along with the scripts + a config.txt that you can use it on your build server, you just have to change the passwords.

The commands /paint, /rapid /gr(gradient commands) and /sculpt can be used by any player.
 
Thanks.

4
the cute lil workshop / [SCRIPT] changevalue
« on: May 13, 2018, 10:34:57 AM HST »
This script will allow you to modify the damage of the weapons, both the damage it causes to the head, body and arms/legs.

Default damage of weapons:

1) rifle: head: 100 body: 49 arms/legs: 33
2) smg: head: 75 body: 29 arms/legs: 18
3) shotgun: head: 37 body: 27 arms/legs: 16

Commands:

/riflevalue <value head> <value body> <value arms/legs>
/smgvalue <value head> <value body> <value arms/legs>
/shotgunvalue <value head> <value body> <value arms/legs>
/debug

The commands /riflevalue, /smgvalue and /shotgunvalue will have 3 parameters, in <value head> you must put the damage you want the weapon to do in the head, in <value body> you must put the damage you  want the weapon to do in the body and in <value arms/legs> you must put the damage you want the weapon to do on arms/legs.

When you put the command without passing any parameters you will receive 2 messages saying that you must pass the values in the 3 parameters and the current damage that the weapon has,  for example in the rifle:

/riflevalue
You need to type /riflevalue <value head> <value body> <value arms/legs>
Current RIFLE damage: HEAD: 100 BODY: 49 ARMS/LEGS: 33



If you only want to change the damage of the head, you must only pass the damage in <value head>, the other parameters will automatically take the value that the weapon currently has.

/riflevalue 50
You changed the RIFLE damage by: HEAD: 50 BODY: 49 ARMS/LEGS: 33

in case you want to change only the damage of the body, in <value head> you should pass the value 0 and then put in <value body> the value you want, it will no longer be necessary to pass the value of <value arms/legs> since it will automatically take the value it currently has in arms/legs.

/riflevalue 0 20
You changed the RIFLE damage by: HEAD: 50 BODY: 20 ARMS/LEGS: 33

In case you want to just change the damage of <value arms/legs> you must pass both in <value head> and <value body> the value 0, and in <value arms/legs> you must pass the value you want to put.

/riflevalue 0 0 5
You changed the RIFLE damage by: HEAD: 50 BODY: 20 ARMS/LEGS: 5

(The 0 is used to tell the script "I'm not going to pass any value on you, so you'll take the damage that the weapon currently has.")

To change all the values ​​just put the damage in <value head> <value body> <value arms/legs>

/riflevalue 90 50 10
You changed the RIFLE damage by: HEAD: 90 BODY: 50 ARMS/LEGS: 10

The same is for /smgvalue and /shotgunvalue
If you want to reset the damage of the weapons to the default value, you should only put /debug command.

In this video you can see a small demonstration:



In the case of the shotgun, each shot have 8 bullets, therefore each of those 8 bullets will take the value you put, in the video in /shotgunvalue I put 1 in <head value> therefore 8 bullets in the head is equal to -8HP.


thanks.

5
the cute lil workshop / [SCRIPTl market
« on: May 06, 2018, 04:20:45 PM HST »
This script allows players to buy things for their own benefit.

Market contains:

1) medkit (1 medkit costs 3 dollars)
2) helmet (1 helmet costs 4 dollars)
3) shield (costs 12 dollars)
4) refill (costs 7 dollars)

To buy something from the market, you just have to put the command /get [object]. Example: /get medkit

Helmet: the helmet will protect you from a headshot and it will break, at the moment of breaking it will send you a message saying "Your helmet has been broken!, now you have (amount) helmet's." (you can buy more than 1)

Medkit: Restores your life to 100%, to use it you must type /m (you can buy more than 1)

Refill: Restores your hp, grenades, blocks and ammo at 100%.

Shield: Counts like a bulletproof vest, the damage of weapons will makes you less damage, when you buy 1 shield the durability of your bulletproof vest goes up to 200%, the bulletproof vest does not last forever, every shot you get in the body will lower the durability of your bulletproof vest, if the durability reaches 0% it will send you a message saying "Your shield has been broken!" and the damage of the weapons return to normal.

The maximum durability is 400%, be careful because this only protects your body, if someone shot you in the head the damage of the weapon returns to normal.
Your shield will continue to work until the durability reaches 0%.

Commands:
*/get [object]
*/mystuff
*/m

/m = if you have medkit's you can use this command.

/get [object] = if no object is passed, the script sends you a message saying the things available to buy.
If the object does't exist, the script send you a message saying "the [object]  was not found on the maket." + the things available to buy.
 
/mystuff = to see everything you have bought and currently have: amount of dollars, helmet's, medkit's and The durability of your bulletproof vest (shield).

To get dollars, you must kill 1 player, since 1 kill += 1 dollar.

Shield + helmet = OP
Thanks.

6
the cute lil workshop / [SCRIPT] detectip
« on: May 06, 2018, 01:16:32 PM HST »
I come to share another script that may be of help, the purpose of this script is to help detect evaders.
The script works with the "bans.txt" file that is inside the dist folder.

#Detects when an ip contains 3 octets equal to the banned ip (message = Ban Evader Detected)
#Detects when an ip contains 2 octets equal to the banned ip (message = Possible Ban Evader Detected)

IP's contain 4 pairs of numbers (octets) = a.b.c.d
example: 104.166.78.57 (104 is a, 166 is b, 78 is c, 57 is d).

suppose that a banned IP is 192.168.120.89 and the IP of the player who has just entered your server is 192.168.120.50 (here would be "Ban Evader Detected" since both IP's contain 3 equal octets 192.168.120).


Now let's suppose that another banned IP is 120.233.45.100 and the IP of the player that has just entered your server is 120.233.80.20 (here would be "Possible Ban Evader Detected" since both IP's contain 2 equal octets 120.233).

The script will alert you with a message in the IRC when it detects an evader, as well as sending a message to the administrators who are inside the server.

Example of a "Ban Evader Detected":



Example of a "Possible Ban Evader Detected":




Thanks.

7
the cute lil workshop / [SCRIPT] statistics2.0
« on: April 28, 2018, 01:49:47 PM HST »
I decided to make some improvements to the script, since it is a bit annoying to use /mlogin to access your user account and then use /login to access the admin/mod/guard/etc account on your server.
- Now it will not be necessary to put /mlogin, you just have to put /login.
- In case you want to use your user account along with the administrator/mod/guard/etc account(password), you should use the same password.
For example, suppose that the administrator password of your server is megaADM12, you must create an account using the same password:

/register MegaStar megaADM12 -> You have successfully registered.

To login to your account you must enter /login <username> <password>

/login MegaStar megaADM12
You logged in as MegaStar (admin)
Your stats is: User: MegaStar, Kills: 0, Deaths: 0, Ratio: 0.0, Flag Captured: 0

As you may have noticed, at the side of my nick comes out "(admin)" This means that you have just successfully entered the administrator account of your server.
- In the case that the password is moderator, it will be "(Moderator)", the same will be with guard/trusted,etc.
- In the case of players who are only registered players, it will come out "(Registered User)"

Example:


- Previously the command /top only showed the 2 best players of the server, now the best 5 players of the server will come out.
- The commands /register, /top, /users, /login and /stats were debugged so that the code is more fluid and can work without problems.
- Click on the Spoiler button to see the commands with more details and how to use the script.


Spoiler for unknown:

Re-read:

I just made a script that allows you to save your kills, deaths and flags captured when you have login on the server, registered users can save his kills, deaths and flags captured.

New Update:

Before there was no control over registered users, so a player could create more than 2 accounts, now has more control and will only allow 2 accounts per IP, why 2 accounts per IP and not only 1? this is because some players share the same internet and when sharing it also share the same IP and therefore it is advisable to put 2 accounts per IP instead of 1 (you can change the number of accounts per IP, just open the script and in the line where it says "MAX_ACCOUNT_PER_IP = 2" change the 2 by the number of accounts per IP you want).

Commands:

- /register: Will ask you to enter username and password, if the username already exists, the registration will not be done.
- /login: You must enter your username and password that you previously created, if the password is incorrect the login will not be done (this also works with the admin/mod/etc password of your server, just make sure you use the same password)
- /top: Will tell you the 5 best players of the server, this is counted by the kills of the users.
- /logout: Logout of your account.
- /users: Shows you all the names of registered users every 1 second.
- /stats: If the player is logged into his account, to see his statistics he should only put "/stats" (this only applies if the player is logged into his account otherwise he will get a message saying "you must enter the name of the user"), to see the statistics of another player you should only put "/stats username".

-You must download the file statistics.txt and put it inside your dist folder (dist / statistics.txt))
-The file statistics.txt will have two lines already written "#0.0.0.0 None #None 0 0 0" please do not delete those lines because this count as a means of support for when the /top command is used.
-The /top players is counted by kills, what do I mean by this? the user who has more kills will be in the top1 and the second will be in the top2, the third in the top3, etc (max 5).
-The kills, deaths and flag captured of the player will be saved only when the player initiates login his account.
-If you try to put "/logout" without having logged into your account, you will get a message saying "You are already logged.".
-If a player already has more than 1 account and tries to register again, they will get a message that says "You have an account already created."

Example:

# suppose I'm about to register and login in my account #
/register MegaStar megaADM12 -> You have successfully registered.
/login MegaStar megaADM12 -> You logged in as MegaStar (admin)
Your stats is: User: MegaStar, Kills: 0, Deaths: 0, Ratio: 0.0, Flags captured: 0

# Suppose that MoDeR login on his account at that moment #

MoDeR kill Deuce2.
MoDeR kill Deuce3.
MegaStar kill Deuce5.
MegaStar kill Deuce2.
MegaStar kill Deuce3.
MegaStar kill MoDeR.
MegaStar captured the blue flag.


/top
top 5: User: Mario, Kills: 0, Deaths: 0, Ratio: 0.0, Flags Captured: 1
Top 4: User: MoDeR, Kills: 2, Deaths: 1, Ratio: 2.0, Flags Captured: 0
Top 3: User: MegaStar, Kills: 4, Deaths: 0, Ratio: 4.0, Flags Captured: 1
top 2: User: FireKill, Kills: 10, Deaths: 1, Ratio: 10.0, Flags Captured: 3
top 1: User: ProPlayer, Kills: 20, Deaths: 1, Ratio: 20.0, Flags Captured: 4

/stats
Your stats is: Kills: 4, Deaths: 0, Ratio: 4.0, Flags Captured: 1

/stats MoDeR
Stats of the user MoDeR: Kills: 2, Deaths: 1, Ratio: 2.0, Flags Captured: 0

/users
Registered Users:
1) MegaStar
2) MoDeR
3) Mario
4) ProDeuce
5) AserejeAdeje


/logout
Logout successfully.

The ratio will always round the result of (kills / deaths) to the tenth.
example:
kills = 7
deaths = 3
result = 2.3333333333333335
ratio-round = 2.3

Recommendation:

You can use the passreload.py script of Danke, this script allows you to modify/add/remove the passwords of the config.txt without having to reset your server:

· "Passwords": {
        "admin": ["megaADM23"],
        "moderator": ["modpass12"],
        "guard": ["khe1212"],
        "trusted": ["nou"]
    },

Once you finish modifying you should only put /reloadconfig in the server (you can also do it in the run) this will do that you do not have to close the server and reopen it when you modify something related to the permissions and passwords of your server, without a doubt this script will help you a lot and at the same time you can use it when you want to add a registered user to administrator/guard/moderator/etc.
To do so, you should only increase the user's password, for example:

· "Passwords": {
        "admin": ["megaADM23", "User password"],
        "moderator": ["modpass12"],
        "guard": ["khe1212"],
        "trusted": ["nou"]
    },

then you must put /reloadconfig and tell the player to put /logout and login again in his account and finally he will be in the administrator group!

if you have any questions, just answer in this topic, thanks.


8
the cute lil workshop / [SCRIPT] checktool
« on: April 25, 2018, 02:00:05 AM HST »
I come to share another script that can be helpful.

Commands:
/ncheck (nick)
/ipcheck (IP)

/ncheck:  returns a list with all the IP's that the nick used.
/ipcheck: returns a list with all the nicks that the IP used.
the /ncheck command respects the uppercase and lowercase therefore make sure you put the nick correctly.
-You must download the datasave.txt file and put it inside your dist folder ((dist/datasave.txt), it's the same step as in the nameban script).
-The file datasave.txt will have a line already written "#DataSave  | #DontDeleteThisLine" please do not delete that line.
-The script will detect when a player joins your server and save the player's data (his IP and nick) in the datasave.txt file.

example:
/ipcheck 127.0.0.1
"these nick's were found: MegaStar, Im the best, ratSageM

/ncheck Im the best
"these IP's were found: 127.0.0.1

Thanks.

9
the cute lil workshop / [SCRIPT] nameban 1.1
« on: March 17, 2018, 11:36:48 AM HST »
The nameban has just been updated, in the previous version there was a command called /changestatus which allowed you to change the sensitive state of the nameban, but when using that command automatically all the nameban you had were in a non-sensitive state or vice versa.

Now the update will allow you to have more control over the nameban, the * * is a special character, if you want your nameban not to be case sensitive state and at the same time look for any match with any nick, you must put * both at the beginning and at the end of the nickname, example /nameban *escobar*, therefore any nick that contains the word "escobar" either in uppercase or lowercase or in any part of his nickname he will be banned automatically ("Pablo Escobar", "," ESCOBAR ", "I'm not escobar", "xXEsCoBaRXx", etc).

Please be careful when using a nameban with *, this can be very useful when you want to catch evaders who always change a small part of their nickname and at the same time always keep a equal part in all the nicknames he uses.

If you want to put a nameban that respects both uppercase and lowercase (that is sensitive to it) you just have to put /nameban <nick> example /nameban MegaStar, the script when detects the nick "MegaStar" will automatically ban the player.

Commands:
/nameban <nick> : You can use * as a wildcard.
/namebanlist : Gives you a list of all the nameban along with their respective ID.
/delnameban <ID> : It will allow you to delete a nameban using the ID.

Each nameban contains an ID, these IDs are used when you want to delete a nameban, suppose that  I have 4 namebans and I put the command /namebanlist:

ID: 1 | nick: *escobar*
ID: 2 | nick: REDSKOOL
ID: 3 | nick: Gxbiel
ID: 4 | nick: *PRO v.*


Now suppose I want to delete the nameban Gxbiel, to do so I must use the ID of that nameban which in this case would be 3.

/delnameban 3
Nameban: Gxbiel | ID: 3 has just been successfully removed.


Both the command /nameban and /delnameban can be used in the run (console), but the command /namebanlist does not, if you want to see the ID of all namebans through the .txt file you should understand the following:



The first nameban on the list will have ID 1, the next one will have ID 2 and so on..

Please, it is recommended that any modification, deletion or addition of a nameban do it through the commands, something unforeseen can happen if you do it manually from the .txt (I will not be held responsible)


Example of the script working:




To use it on your server, you must download the files nameban.py and nameban.txt, the file nameban.txt must be inside your dist folder (dist/nameban.txt) and the file nameban.py you must put it in the scripts folder (dist/scripts/nameban.py)

Thanks.

10
the cute lil workshop / [MAP] 8 mountains
« on: December 08, 2017, 10:54:11 AM HST »
This is my first map made for babel mode.




Pages: [1] 2 3 4 5 6 7 8 9 10 11 ... 28