Important Pluton for Experimental Branch

Status
Not open for further replies.
lool at this last page, this is why i got balu to add JS support back in. took me like 2 hours to write a tpto/tpa plugin in python, vs 5-10 minutes in JS. you know JS is in there for you to use jakee.

also hows the Player.Teleport method going? last time i tested it, it was fine
Its 5 mins for me in Py

Sent from my Samsung Galaxy S4
 
lool at this last page, this is why i got balu to add JS support back in. took me like 2 hours to write a tpto/tpa plugin in python, vs 5-10 minutes in JS. you know JS is in there for you to use jakee.

also hows the Player.Teleport method going? last time i tested it, it was fine
Yeah I got tp plugin working in about the same time as you.
Come Back later, Updating the code
And yeah i saw there was Jint support added, Just thought i'd try out Python.
 
Last edited:
safer code:
Python:
                name = command.quotedArgs[0]
                player = Server.FindPlayer(name)
                if player is not None:
                    StringName = player.Name
 
How i upload a plugin on my server , do i need to make separate folder in plugin folders? i need to compile the Py file or how to do it?
 
What I need to use to make PY coding easyer?
Can PyCharm help me code and tell some errors?
 
What I need to use to make PY coding easyer?
Can PyCharm help me code and tell some errors?
it's not perfect, but should help you in some case, yeah
http://fougerite.com/threads/setup-pycharm-for-python-plugins.198/

How i upload a plugin on my server , do i need to make separate folder in plugin folders? i need to compile the Py file or how to do it?
each plugin goes in it's own folder
/Plugins/py1/py1.py
/Plugins/HelloWorld/HelloWorld.py
this will be the same with js plugins when we add them:
/Plugins/js1/js1.js
/Plugins/Foobar/Foobar.js

in python all the hook must go under the same class name that the name of the plugin
Python:
class py1:
    def On_SomethingHappend(self, arg1):

Python:
class HelloWorld:
    def On_PlayerConnected(self, player):
        player.Message("Hello world!")
 
Balu thx for reply it works :) and i have some more questions like can i modify my server message in chat To change Pluton : with another name ? and i dont know why /players command dosnt work....to show online players
 
Balu thx for reply it works :) and i have some more questions like can i modify my server message in chat To change Pluton : with another name ? and i dont know why /players command dosnt work....to show online players
I'd like if you wouldn't change the broadcast name from pluton just yet. Let ppl know about this mod, shall we? :) as for the /players, it should only show the number of players, not much...
 
I'd like if you wouldn't change the broadcast name from pluton just yet. Let ppl know about this mod, shall we? :) as for the /players, it should only show the number of players, not much...
Well i wont change the Broad cast name but the rest?
 
Well i thank you but i dont know how to implement it still need alot to learn ! And one more question every time i use the command quit and reopen server its getting me killed what i need to do so when relog to be in sleep mode , wake up mode
 
Last edited:
it's not perfect, but should help you in some case, yeah
http://fougerite.com/threads/setup-pycharm-for-python-plugins.198/


each plugin goes in it's own folder
/Plugins/py1/py1.py
/Plugins/HelloWorld/HelloWorld.py
this will be the same with js plugins when we add them:
/Plugins/js1/js1.js
/Plugins/Foobar/Foobar.js

in python all the hook must go under the same class name that the name of the plugin
Python:
class py1:
    def On_SomethingHappend(self, arg1):

Python:
class HelloWorld:
    def On_PlayerConnected(self, player):
        player.Message("Hello world!")
I will create a pluton setup too.

Sent from my Samsung Galaxy S4
 
I dont think the binaries would be hard to release and reupdate after update, and since here are developers pleace make god mode for admins
 
  • Funny
Reactions: Ionstorm
Erm, just a slight issue since using Pluton.

If the server restarts, all buildings etc are lost, how come?
 
Erm, just a slight issue since using Pluton.

If the server restarts, all buildings etc are lost, how come?
Puhhh. Reminds me about Rust Legacy O_O

I dont think the binaries would be hard to release and reupdate after update, and since here are developers pleace make god mode for admins
I'm sorry, but we can't release something that is unstable.
 
i wonder how can i activate airdrop on some servers its active...any one know becouse i wanna have it on my server
 
Status
Not open for further replies.