Here is the buff i used. The ability simply applies the buff to self, but psychoak is right it wont bring your ships to your starbase. This ability is intended to bring damaged ships fast out of the system before they die. I also used this for a map from stars where all planets are connected with each other.
entityType "Buff"
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit 1
allowFirstSpawnerToStack FALSE
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
buffInstantActionType "Explore"
instantActionTriggerType "OnDelay"
delayTime 0.000000
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 4
entityModifier
buffEntityModifierType "GravityWellRangeForHyperspace"
value
Level:0 -1.000000
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
entityModifier
buffEntityModifierType "HyperspaceChargeUpRate"
value
Level:0 999.999999
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
entityModifier
buffEntityModifierType "AngularThrust"
value
Level:0 50.000000
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
entityModifier
buffEntityModifierType "LinearMaxSpeed"
value
Level:0 100.000000
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
numEntityBoolModifiers 0
numFinishConditions 2
finishCondition
finishConditionType "EnterHyperspace"
finishCondition
finishConditionType "OwnerChanged"
I assume you just copypasted your buff-file here. There are spaces between your words. For example it has to be "delayTime" instead of "delay Time". If you load your mod in the dev.exe instead of the normal game it informs you about something like that.
instantAction
buffInstantActionType "DoDamage"
instantActionTriggerType "OnDelay"
delayTime 0.000000
damage
Level: 0 10000.000000
Level: 1 10000.000000
Level: 2 10000.000000
Level: 3 10000.000000
damageAffectType "AFFECTS_ONLY_SHIELDS"
damagetype "PHYSICAL"
isDamageShared FALSE