Mythruna
May 03, 2024, 02:17:03 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 2 [3]
31  Modder's Workbench / Scripting / withe-list-System V0.1 by Gara on: October 30, 2012, 04:42:18 PM
Helloo

Now, I have developed a white-list system.
I do not have to do any tutorial for that, well I think Smiley

Commands:
-"~addplayer" For add a player to the whitelist (not the login, the name of the player in games) Ex:"~addplayer test"

-"~removeplayer" For remove a player to the whitelist (not the login, the name of the player in games) Ex:"~removeplayer vince"

the file whitelist.txt is in the scripts folder Smiley (you can directly edit, with a text editor Smiley )

the download link is http://www.mythruna-france.tk/download/withe-list.init.groovy.php Smiley
32  Modder's Workbench / Scripting / Re: Scripted-Object V0.1 by Gara on: October 21, 2012, 07:35:04 PM
thanks Cheesy
but I find it a little harder to take in hand
because there are plenty of opportunities so this is necessarily a bit more complex.
A++ Cheesy good night :p (for me XD )
33  Modder's Workbench / Scripting / Scripted-Object V0.1 by Gara on: October 21, 2012, 07:11:20 PM
Hello everybody (anew :p )
I have coded a another script for server (and you can be run in solo ? to tested ... )

This script given and interpret script, in games, to object. Oo it's complicated all this XD

In this script you have 2 actions:
-"Action" for start the script of a object. The first click executes the script and the second click return the object at the original state.
-"Select Object" for select the object whom you want to add a script (so you must select the object every time before using the commands).

One object can contain divers script which will be executed in the order of their addition.

Commands:
-"~defaction" for define the first action (or the only action)
-"~addaction" for add other action

Action list:
-"up" for go up the object at z coordinate ; Ex: "~defaction up 2" || "~addaction up 2"
-"down" for go down the object at z coordinate ; Ex: "~defaction down 5" || "~addaction down 5"
-"movex" for move the object at x coordinate ; Ex: "~defaction movex 5" || "~addaction movex 5"
-"movey" for move the object at x coordinate ; Ex: "~defaction movey 5" || "~addaction movey 5"
-"rotate" for rotate the object of x degree ; Ex: "~defaction rotate 90" || "~addaction rotate 90"
-"text:" for adding text on the click "action"; Ex: "~defaction text: hello everybody" || "~addaction text: hello everybody"

Example of use:

For this i have typing:
"~defaction up 2"



Here i have typing:
"~defaction movex -0.5"
"~addaction movey 0.5"
"~addaction rotate 90"



And here:
"~defaction up 1"
"~addaction movex 1"



So the download link is here Cheesy http://www.mythruna-france.tk/download/Scripted-Object.init.groovy.php
Good-Game :p
34  Modder's Workbench / Scripting / Re: Cash-System V0.1 by Gara on: October 21, 2012, 08:57:39 AM
I have no choice because the server commands are well :/
in solo, the command starts with "/"
on the server, the commands starting with "~"

unless I misunderstood but I like that it works with me

With script admin pack
this is the same

http://mythruna.com/mediawiki/index.php?title=Running_a_Server
35  Modder's Workbench / Scripting / Cash-System V0.1 by Gara on: October 21, 2012, 06:28:30 AM
Hello everybody Cheesy
I have create a script for Mythruna server.
it adds a system of money ^ ^ + a system of sale of plots easily

-The commands:
"~cash" allows you to view your account.
"~givecash" can give money to another player. (Ex: "~givecash Test 200")

-Configurations:
-static File CashFile = new File( "scripts/Cash-Player.txt" )
Path of the backup file of account

/!\ /!\ Warning /!\ /!\
-static def PASSOWRD = "azerty"

You absolutely must change the "password", replace it with anything (as long as it's still letters) but change absolutely.
If you do not change your Cash System is in danger

-static def StartCash = 200;
It will be the starting cash for each player

-The sale of a plot (strongholds, plots, ....)
To sell a plot you must have a plot ^^
Then you must place this object in the property


and you must rename your property by a number such as "200" to sell your plot for 200$


Here is your plot for sale !



-To purchase a plot

To see the price of a plot you must select the "Plot Info"
And left-click on the object of sale (sign)


To buy a plot you must select the "Buy"
And left-click on the object of sale (sign)


Here, I hope this script will help you.
I intend to develop as much as possible Cheesy

Ah yes: p
The download link is http://www.mythruna-france.tk/download/Cash-System.init.groovy.php
*And sorry for my very bad English Smiley
Pages: 1 2 [3]
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!