Important Pluton for Experimental Branch

Status
Not open for further replies.
He wants a method which sends a console parameter. For example: Server.Command, or Server.SendCommand
Tryed Server.SendCommand("status") but no luck... Maybe I got it wrong?
I just need it to send command when timer end's... Any help?

Are timers even working?
Plugin.CreateTimer("timer", 1000, data).Start() Not working for me... Gives except code
 
Last edited:
Tryed Server.SendCommand("status") but no luck... Maybe I got it wrong?
I just need it to send command when timer end's... Any help?

Are timers even working?
Plugin.CreateTimer("timer", 1000, data).Start() Not working for me... Gives except code
The method wasn't implemented. I just notified balu to add it in.
 
Was there a set home plugin yet? Or a Remove plugin? Or even an Admin Godmode? :D

Just curious!


Site could do with a development plugin section!


BTW Oxide 2.0 is released but you have to wait for them to release DLL's atm! So screw that for a bad joke!
 
Was there a set home plugin yet? Or a Remove plugin? Or even an Admin Godmode? :D

Just curious!


Site could do with a development plugin section!


BTW Oxide 2.0 is released but you have to wait for them to release DLL's atm! So screw that for a bad joke!
Yeah I See your arguments with them.


I'm converting TpFriend which atm the best detailed TPA sys, but It has to be converted.

It won't be slow, It's smaller than my HomeSystem. HomeSystem will take time, but I'm on my way to convert all of my useful plugins. I'm Creating a small Pluton Section now till we have the new website.
 
Was there a set home plugin yet? Or a Remove plugin? Or even an Admin Godmode? :D

Just curious!


Site could do with a development plugin section!


BTW Oxide 2.0 is released but you have to wait for them to release DLL's atm! So screw that for a bad joke!
We will have our forum soon(still need to setup), so we won't just have this single post. ;)
 
It's a temp section, but It's a small setup. Use It.

http://fougerite.com/forums/#pluton-discussion-temporary.23
I see that there is Plugin uploding page... Can I maybe be part of your team in plugins and add one? :)
I used to be Oxide Plugin Developer but one man sayed:
I'll not bother wasting my time trying to help or push any longer, the early bird gets the worm, good luck trying to recover lost ground.
And that means You win with your fast mod and great support...

P.S. I would love to upload HomeSystem plugin... Got it working with ini and seems to be stable... I would love to share my work... Thanks... Waiting reply
 
@DreTaX Or I am stupid and dont see it or your TPA /banip command can be used by normal players? Just looked at code... I see it at /unbanip has check but at /banip don't see it...
 
I am just starting but done quite a few hours on it, I am wondering about something, I was trying to get the "Attacker" for buildinghurt, playerhurt and playerdeath events but there is only a Victim variable.
I modified the BuildingHurtEvent.cs and compiled Pluton with this:

Code:
using System;

namespace Pluton.Events
{
    public class BuildingHurtEvent : HurtEvent
    {
        public readonly BuildingPart Victim;
        public readonly Player Attacker;

        public BuildingHurtEvent(BuildingPart bp, HitInfo info)
            : base(info)
        {
            Victim = bp;
            Attacker = new Player(info.Initiator as BasePlayer);
        }
    }
}

I am not sure if this is the best/right way to get the attacker but it seems to work in my tests. It could be placed in PlayerHurt, PlayerDeath and other events where getting the attacker could be useful (or send the whole HitInfo directly).

Unless I missed a totally different way to get the attacker for those events.

Question 2:
I also made a pluggin to sethome/gohome by setting DataStore.Add("homelocation", Player.SteamID, ploc) (ploc = vector) which works great but when I "quit" and start the server again, the locations are gone.. do I have to save the locations or should Datastore save its arrays auto?
 
Status
Not open for further replies.