Search results

  1. coersum

    EasyRemove for Admins

    Just in case you wanted to use it, I set instabuild on the building update instead than in onFramedeployed because we can't get Player info on FrameDeployed, just BuildingPar. def On_BuildingUpdate(self, be): if be.Builder.Admin: if be.Tool.Name == "Hammer": #straight...
  2. coersum

    EasyRemove for Admins

    In the Pluton/Objects folder.
  3. coersum

    EasyRemove for Admins

    Well you can, but when a BuildingPart's health is set of BuildingPart.MaxHealth, when you try to break it (without remove), it gives some outofindex error/warning on the server console, which I am guessing is never good. It's just as easy to set it by hand but up to you. You can do pull request o.O
  4. coersum

    EasyRemove for Admins

    They are not, but easy to do, made a mistake the MaxHealth is MaxHealth(): public float MaxHealth { get { return buildingBlock.MaxHealth(); } } But using MaxHealth bugs a bit in the sense that if you try to hurt it (without remove), the...
  5. coersum

    EasyRemove for Admins

    For the insta build to work, you need to add a setter to Health in BuildingPart.cs public float Health { get { return buildingBlock.health; } set { buildingBlock.health = value; } } And a getter for...
  6. coersum

    Droper

    Very good, I was just working on one, saves me doing the finishing touch :D
  7. coersum

    timerNameCallBack? working with timers

    Errr, if I had a penny for every time a capital/lowercase mistake costed me hours... Thank you very much!
  8. coersum

    Important Pluton for Experimental Branch

    Same, just recompiled and ran just fine
  9. coersum

    Name restriction plugin request?

    Awesome, thank you!
  10. coersum

    timerNameCallBack? working with timers

    So I was trying to make a lil timer for airdrop in my main plugin (misc plugin for my server) with a command to start/stop the run but I can't get the callback to run. if command == "testtimer": Plugin.CreateTimer("droptimer", 60000).Start() #that's 60sec...
  11. coersum

    Name restriction plugin request?

    I would make it myself, but in years of doing programming as a hobby (basic back in dos, delphi, then discovered internet, perl, then php etc... I ALWAYS HATED REGEX! (or whatever that function is called to compare stuff like this plugin requires...
  12. coersum

    Name restriction plugin request?

    Protect names like "Server", Server Console, Pluton etc (being able to enter a few by hand to protect moderator's and owner name. Also limit names to: Upper case letters: A to Z (26 characters) Lower case letters: a to z (26 characters) Numbers: 0 to 9 (10 characters) Symbols: (space) ! " # $ %...
  13. coersum

    Important Pluton for Experimental Branch

    In github, click on "xxx commit", top left, it shows u latest things done. It's in World.cs
  14. coersum

    Instabuild

    ah yeah at the time, I didn't want to have to check with every hammer hit, but check Hp is the same lol.. it was LATE last night... As far as location, it seems 2 pieces can not be at the same space from my tests (I believe it gives us the origin of the block, so it's unique and can be gotten...
  15. coersum

    Instabuild

    I had started something like that, but I thought DataStore handled big database like that better than ini's ? Also I have not tested: Server.FindPlayer(BuildingEvent.BuildingPart.OwnerName).SteamID.ToString() but since OwnerName and OwnerID didn't return anything (unless it's a conversion...
  16. coersum

    Important Pluton for Experimental Branch

    Not that I noticed, you can move while falling but normal running speed and fall just as usual... FOR NOW (I hope)
  17. coersum

    Important Pluton for Experimental Branch

    Did I just see AttachParachute(p.basePlayer); :D Sooo yeah I had to try it:
  18. coersum

    Go through Server.Players Dictionary ? Ban by IP ?

    So I have have a few ppl that I only have the IP / name of, and I need to ban them. However, it seems there is no ban by IP unless the player is online. Is it possible to get the SteamID from the Server.Players Dictionary, and if so how ? Sorry I have never worked with dictionaries and my...
  19. coersum

    Name restriction plugin request?

    I am nowhere close to making something like that but hoping someone out there can. Something to limit the use of Pluton, Server, Server Console + a few the admin can enter by hand and also restrict the character you can use in your name to the one we can type! Thank you
  20. coersum

    Important Pluton for Experimental Branch

    Awesome changes Balu, now we have a nice control over damage (can use multiplier etc). One thing I added in Hooks so that if info.damageAmount = 0.0f, we don't show damage/bleed effect since there was no damage to start with: if (info.damageAmount > 0.0f) {...