Looking For A Custom Eluna Script? Request It Here!

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
Hey guys,

I decided since I have been enjoying making scripts for Eluna that I will make this shop where we can help each other. You provide the idea, and I provide the script with the only condition being that I get to release the scripts I make for you.

I make all my scripts on trinity core 3.3.5a with Eluna, so there is no guarantee that it will work on other emulators.

Here are some of my previous scripts.
I am still actively learning, and I am always looking to improve. You may reach out to me either on this thread, DM or discord with your idea. I will try to make any request you may have, but no promises as my time is very limited. So please don't get upset if I can't make the script the day you contact me. :)
 
Liked By 3 members :

Urwifemykids

Banned
banned
Urwifemykids Rep
0
0
2
Rep
-1000
Urwifemykids Vouches
0
0
0
Vouches
0
Posts
26
Likes
71
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 2 115 XP
I would like to see a script that blocks a player from entering a certain zone/map if he doesnt have X item and be teleported to some other place
 

Roddan

Lurking around
Divine
Roddan Rep
0
0
0
Rep
0
Roddan Vouches
0
0
0
Vouches
0
Posts
276
Likes
101
2 YEARS
2 YEARS OF SERVICE
LEVEL 2 110 XP
Liked By 1 member :

Atlas

MySQL & DBC Developer
Divine
Atlas Rep
3
0
0
Rep
3
Atlas Vouches
0
0
0
Vouches
0
Posts
86
Likes
77
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
This is a great service you're doing Donut, highly appreciate your work. Definitely recommend this guy for some LUA, Eluna scripts.
 
Liked By 2 members :

JadaDev

reaper-wow.com
Legend
JadaDev Rep
5
0
0
Rep
5
JadaDev Vouches
0
0
0
Vouches
0
Posts
514
Likes
509
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 11 100 XP
I would like to see a script that blocks a player from entering a certain zone/map if he doesnt have X item and be teleported to some other place
1675201498796.png
That can be done inside access_requirements
 
Last edited:
Liked By 3 members :

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
I would like to see a script that blocks a player from entering a certain zone/map if he doesnt have X item and be teleported to some other place

I got you:
Java:
--[[
- Script Name : Block Zone
- Made by : PrivateDonut
- Description : This script will block the zone of the player unless they have the correct item.
]]--
local ItemOrRank = 0 -- 0 = Item, 1 = Rank
local item = 52567 -- Item ID
local GMRank = 3 -- GM Rank
local message = "You do not have the correct item to enter this zone."
-- Map ID, X, Y, Z, O
local teleport = {
    1, -- Map ID
    -8915.95, -- X
    554.008, -- Y
    94.7974, -- Z
    0 -- O
}
-- Add as many zones as you want, just make sure to add a comma after each zone ID.
local zone = {
    12
}
-- Do not edit below this line unless you know what you're doing. 
function blockZone(event, player, newZone, newArea)
    if ItemOrRank == 0 then
        if player:HasItem(item) == false then
            for i = 1, #zone do
                if newZone == zone[i] then
                    player:SendBroadcastMessage(message)
                    player:Teleport(teleport[1], teleport[2], teleport[3], teleport[4], teleport[5])
                end
            end
        end
    elseif ItemOrRank == 1 then
        if player:GetGMRank() < GMRank then
            for i = 1, #zone do
                if newZone == zone[i] then
                    player:SendBroadcastMessage(message)
                    player:Teleport(teleport[1], teleport[2], teleport[3], teleport[4], teleport[5])
                end
            end
        end
    end
end
RegisterPlayerEvent(27, blockZone)

With this script you can choose between the option of requiring an item or rank, you can choose. Define the zone, message and teleport location if they do not meet the requirements. I did only very minimum testing but it seemed to work fine. Let me know how it works for you. :)
 

Urwifemykids

Banned
banned
Urwifemykids Rep
0
0
2
Rep
-1000
Urwifemykids Vouches
0
0
0
Vouches
0
Posts
26
Likes
71
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 2 115 XP
I got you:
Java:
--[[
- Script Name : Block Zone
- Made by : PrivateDonut
- Description : This script will block the zone of the player unless they have the correct item.
]]--
local ItemOrRank = 0 -- 0 = Item, 1 = Rank
local item = 52567 -- Item ID
local GMRank = 3 -- GM Rank
local message = "You do not have the correct item to enter this zone."
-- Map ID, X, Y, Z, O
local teleport = {
    1, -- Map ID
    -8915.95, -- X
    554.008, -- Y
    94.7974, -- Z
    0 -- O
}
-- Add as many zones as you want, just make sure to add a comma after each zone ID.
local zone = {
    12
}
-- Do not edit below this line unless you know what you're doing.
function blockZone(event, player, newZone, newArea)
    if ItemOrRank == 0 then
        if player:HasItem(item) == false then
            for i = 1, #zone do
                if newZone == zone[i] then
                    player:SendBroadcastMessage(message)
                    player:Teleport(teleport[1], teleport[2], teleport[3], teleport[4], teleport[5])
                end
            end
        end
    elseif ItemOrRank == 1 then
        if player:GetGMRank() < GMRank then
            for i = 1, #zone do
                if newZone == zone[i] then
                    player:SendBroadcastMessage(message)
                    player:Teleport(teleport[1], teleport[2], teleport[3], teleport[4], teleport[5])
                end
            end
        end
    end
end
RegisterPlayerEvent(27, blockZone)

With this script you can choose between the option of requiring an item or rank, you can choose. Define the zone, message and teleport location if they do not meet the requirements. I did only very minimum testing but it seemed to work fine. Let me know how it works for you. :)
Thanks ur top G
 

Alppha

Member
Alppha Rep
0
0
0
Rep
0
Alppha Vouches
0
0
0
Vouches
0
Posts
19
Likes
0
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
Can u maybe make special scrpit for item that will open gossip menu in which i can add teleport locations?
 

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
444
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 31 71 XP
Can u maybe make special scrpit for item that will open gossip menu in which i can add teleport locations?

I’ll see what I can do once I get off work. :D
 

Sopze

Divine
Divine
Sopze Rep
0
0
0
Rep
0
Sopze Vouches
0
0
0
Vouches
0
Posts
19
Likes
3
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 80 XP
Hey PrivateDonut

I would like to request a change to your bounty script. So it only works in specific zones. Or atleast a opition for it.

Was thinking if you could add a another check to this part around line 174. To check if player is in any of the zones listed.

Code:
function OnKill(event, killer, killed)

    killerGuid = killer:GetGUIDLow()
    killedGuid = killed:GetGUIDLow()

    local checkBounty = CharDBQuery("SELECT placedOn FROM bounties WHERE placedOn = '".. killedGuid .."'")
    if checkBounty == nil then
        return
    else
 

3,387

1,270

9,554

428

Top