EXILED | level plugin framework for SCP : Secret Laboratory servers | Game Engine library
kandi X-RAY | EXILED Summary
kandi X-RAY | EXILED Summary
EXILED is a low-level plugin framework for SCP: Secret Laboratory servers. It offers an event system for developers to hook in order to manipulate or change game code, or implement their own functions. All EXILED events are coded with Harmony, meaning they require no direct editing of server Assemblies to function, which allows for two unique benefits.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of EXILED
EXILED Key Features
EXILED Examples and Code Snippets
Community Discussions
Trending Discussions on EXILED
QUESTION
I am new to blockchain and i am trying to play with blockchain so I used metaplex and candy-machine to upload and mint dummy nft's which is working fine. The opensource repositories that I am playing with are below:
https://github.com/metaplex-foundation/metaplex https://github.com/exiled-apes/candy-machine-mint
Then for learning purposes, I wanted to divide minting and secondary sales into more than one wallet so I changed JSON and added three test wallets into the creator's array.
...ANSWER
Answered 2021-Nov-26 at 23:14Interestingly, I found this quote in the metaplex documentation:
The SPL Metadata program supports storing up to five co-creators that share potential future profits from sales for the items as defined by seller_fee_basis_points . Each creator needs to be added as part of the minting process and is required to approve metadata that was used in his name using the sign_metadata endpoint. Unverified artwork cannot be sold with Metaplex.
During the first sale, creators share in 100% of the proceeds, while in follow up sales, they share in proceeds as a percentage determined by seller_fee_basis_points. Whether or not a metadata is considered in second sale or not is determined by the primary_sale_happened boolean on the Metadata account.
My interpretation of this is that the expected behavior should be for the initial sale to get divided between creators using the ratios defined by each creator's share. Sounds like you're experiencing something different.
Keep in mind that this documentation is for the parent project. Candy-machine-mint seems to be a fork and they may have altered some of that behavior.
QUESTION
if (!args[1]) return message.channel.send('You need to specify a person!')
if (!args[2]) return message.channel.send('Please specify a time for how long the ban council will last.')
var tim = args[2]
const sweden = message.mentions.users.first()
message.react('👍').then(() => message.react('👎'))
const mappo = ['👍', '👎']
if (!args[1]) return message.channel.send('Please specify a person!')
if(message.guild){ //this will check if the command is being called from a server
const embad = new Discord.MessageEmbed()
.setTitle('Ban Council')
.addField('The Convicted:', `${sweden.tag}`)
.addField('Rules:', 'Vote on whether the convicted is guilty or not with the prompted reactions. The ban will end automatically in 5 seconds.')
message.channel.send(embad)
setTimeout(function(){
if(sweden){
const lyft = message.guild.member(sweden)
if(lyft){
if(message.reactions.cache.map(r => `${'👍'} ${r.users.cache.size}`)[0] > message.reactions.cache.map(r => `${'👍'} ${r.users.cache.size}`)[1]){
lyft.ban({ ression: 'Majority has exiled you from server. '}).then(() => {
message.reply(`The user ${december.tag} was banned as a result of a majority vote.`)
})
} else {
message.channel.send('The ban was cancelled.')
}
}else{
message.reply('The user is not in this server.')
}
}else{
message.reply('You need to specify a person!')
}
}, tim)
} else {
message.channel.send('Banning does not work here!')
}
break;
...ANSWER
Answered 2020-Jun-23 at 21:24Firstly you should beautify your code before you post on stackoverflow, you could have removed the break keyword and just explain it was inside of a switch case
The reason it does not work is because you are checking the message
's reaction, and not the embed that you send, so to fix this you need to assign a variable to message.channel.send(embad)
, but this is a promise so you need to await
it, which requires an async function
lastly awaitReactions
and createReactionCollector
are probably better options,
So here's the new code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install EXILED
Note: Make sure you're on the user that runs the server or you have Admin privileges before running the Installer.
Download the Exiled.Installer-Win.exe from here (click on Assets -> click the Installer)
Place it on your server folder (download the dedicated server if you haven't)
Double click the Exiled.Installer.exe or download this .bat and place it in the server folder to install the latest pre-release
To install and get plugins, check the Installing plugins section down below. Note: If you are installing EXILED on a remote server, make sure you run the .exe as the same user that runs your SCP:SL servers (or one with Admin privileges)
Download the Exiled.tar.gz from here
Extract its contents with 7Zip or WinRar
Move Assembly-CSharp.dll to: (Your Server Folder)\SCPSL_Data\Managed and replace the file.
Move the EXILED folder to %appdata% Note: This folder needs to go in C:\Users\(Your_User)\AppData\Roaming, and NOT C:\Users\(Your_User)\AppData\Roaming\SCP Secret Laboratory, and IT MUST be in (...)\AppData\Roaming, not (...)\AppData! Windows 10: Write %appdata% in Cortana / the search icon, or the Windows Explorer bar Any other Windows version: Press Win + R and type %appdata%
Note: If you are installing EXILED on a remote server, make sure you run the Installer as the same user that runs your SCP:SL servers (or root).
Download the Exiled.Installer-Linux from here (click on Assets -> download the Installer)
Install it by either typing ./Exiled.Installer-Linux --path /path/to/server or move it inside the server folder directly, move to it with the terminal (cd) and type: ./Exiled.Installer-Linux.
If you want the latest pre-release, simply add --pre-releases. Example: ./Exiled.Installer-Linux /home/scp/server --pre-releases
Another example, if you placed Exiled.Installer-Linux in your server folder: /home/scp/server/Exiled.Installer-Linux --pre-releases
To install and get plugins, check the Installing plugins section down below.
Ensure you are logged in on the user that runs the SCP servers.
Download the Exiled.tar.gz from here (SSH: right click and to get the Exiled.tar.gz link, then type: wget (link_to_download))
To extract it to your current folder, type tar -xzvf EXILED.tar.gz
Move the included Assembly-CSharp.dll file into the SCPSL_Data/Managed folder of your server installation (SSH: mv Assembly-CSharp.dll (path_to_server)/SCPSL_Data/Managed).
Move the EXILED folder to ~/.config. Note: This folder needs to go in ~/.config, and NOT ~/.config/SCP Secret Laboratory (SSH: mv EXILED ~/.config/)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page