It can be done through filter, If you can't do it through a filter or don't own one then you can make it a bit tricky like roc gate, create 2 teleports each of them requires a specific key to enter, without it, it won't let you in, and give this key to character on job registration and don't forget to delete it on job leaving
This is an example of the _RefTeleLink table row
92901 = Hunter/Trader Key
92902 = Thief Key
5 = main teleport id (hotan in this case)
278 = hunter/trader teleport id
279 = thief teleport id
130 = minimum level range to enter
_RefTeleLink
Code:
1 5 278 0 0 0 0 1 130 999 4 92901 0 0 0 0 0 0 0 0 0 0
1 5 279 0 0 0 0 1 130 999 4 92902 0 0 0 0 0 0 0 0 0 0
And those are _RefObjcommon and _RefObjitem rows if you need them
_RefObjCommon
Code:
1 92901 ITEM_JOB_TRAHUN_KEY ??? ?? xxx SN_ITEM_JOB_TRAHUN_KEY SN_ITEM_JOB_TRAHUN_KEY_TT_DESC 1 0 3 3 5 1 180000 3 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_token.bsr item\etc\jobkey.ddj xxx xxx 92901
1 92902 ITEM_JOB_THIEF_KEY ??? ?? xxx SN_ITEM_JOB_THIEF_KEY SN_ITEM_JOB_THIEF_KEY_TT_DESC 1 0 3 3 5 1 180000 3 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_token.bsr item\etc\jobkey.ddj xxx xxx 92902
_RefObjItem
Code:
92901 10000 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 0 0 0
92902 10000 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 0 0 0